[Tarantool-patches] [PATCH 1/2] box: rework local_recovery to use async txn_commit

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Tue Jun 23 00:43:28 MSK 2020


I am looking at the commit which added on_write_failure.
Why can't we reuse on_rollback trigger? As we discussed,
we can pass whatever we want using txn->signature. So
for manual rollback we can set it to -1, for write failure
to -2, for limbo rollback to -3, for timeout to -4, etc.

I am just afraid that +16 bytes for transaction object
may affect performance of the async transactions.


More information about the Tarantool-patches mailing list