[Tarantool-patches] [PATCH v3 13/13] tmx: use new tx manager in memtx
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Thu Jul 23 23:58:53 MSK 2020
> On 7/17/20 1:26 AM, Vladislav Shpilevoy wrote:
>> Th
>> 1. You can pass tx_manager_use_mvcc_engine as a second
>> argument to txn_can_yield() instead of adding one another
>> 'if'.
> Actually it's not so simple. It would fall in assert.
Well, then remove the assert. Better patch txn_can_yield(),
that what you did. You just moved the common 'if' out of
the function and added it to each call, even though you
could move it inside.
More information about the Tarantool-patches
mailing list