[Tarantool-patches] [PATCH] limbo: introduce request processing hooks
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Tue Jul 13 00:20:21 MSK 2021
On 12.07.2021 19:04, Cyrill Gorcunov wrote:
> 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!
Все так, да. Латч должен и сделать твой патч в 200 раз проще, и починить
этот баг.
Если конечно я не замечаю пока какой-то проблемы скрытой в латче.
More information about the Tarantool-patches
mailing list