[Tarantool-patches] [PATCH] txn_limbo: simplify owner migration condition
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Fri Apr 16 02:12:37 MSK 2021
Hi! Thanks for the patch!
On 16.04.2021 00:06, Cyrill Gorcunov wrote:
> When limbo owner is about to change the state
> we should check is if there are some pending
'is' is not needed.
> transactions are not yet processed, iow if
are -> which are.
> queue is empty. No need to test if current limbo
> owner is zero. The owner is set to zero once --
> when limbo is created during initialization.
>
> After all I think even if owner would ever zero
> and we're about to change it the queue simply
> must be empty, that is the only safe state.
More information about the Tarantool-patches
mailing list