[Tarantool-patches] [PATCH] limbo: introduce request processing hooks

Cyrill Gorcunov gorcunov at gmail.com
Mon Jul 12 20:04:45 MSK 2021


On Mon, Jul 12, 2021 at 07:49:49PM +0300, Serge Petrenko wrote:
> > 
> > at this moment the data from applier 2 is actually queued
> > for write as valid but we just wrote the term 3, so if we would
> > had been updating terms map earlier (before jornal write) the data
> > from applier 2 should be NOPified. I think there is some problem
> > because due to journal write lag the data is not as it could be
> > if terms map updated early. Serge, Vlad, am I right? Which consequences
> > can be here? IOW, should not we track terms earlier even without
> > my filter series?
> Looks like a bug, indeed.
> 
> We may either introduce a limbo latch or start tracking terms before the
> WAL write.
> 
> I'm starting to like the idea with limbo latch more.
> 
> It's come up a couple of times already for various occasions, so maybe it's
> time to finally implement it.

Yeah, I think this fully incorporates into the my filter+apply stages
and I'll address the latching there then. Thanks!


More information about the Tarantool-patches mailing list