[Tarantool-patches] [PATCH 0/3] Transactional recovery

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Fri Apr 2 01:23:41 MSK 2021


The patchset makes the recovery transactional. That is done for
the synchronous transactions, because they might be followed by a
ROLLBACK, and then must be reverted entirely, including their
statements working with non-sync spaces.

Nikita, I need you to check if the first commit is correct. It
touches vinyl.

Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-5874-txn-recovery
Issue: https://github.com/tarantool/tarantool/issues/5874

Vladislav Shpilevoy (3):
  vinyl: handle multi-statement recovery txns
  recovery: make it transactional
  box: remove is_local_recovery variable

 .../unreleased/qsync-multi-statement-recovery |   5 +
 src/box/box.cc                                | 273 +++++++++++++++---
 src/box/vy_tx.c                               |   9 +-
 .../gh-5874-qsync-txn-recovery.result         | 124 ++++++++
 .../gh-5874-qsync-txn-recovery.test.lua       |  64 ++++
 5 files changed, 436 insertions(+), 39 deletions(-)
 create mode 100644 changelogs/unreleased/qsync-multi-statement-recovery
 create mode 100644 test/replication/gh-5874-qsync-txn-recovery.result
 create mode 100644 test/replication/gh-5874-qsync-txn-recovery.test.lua

-- 
2.24.3 (Apple Git-128)



More information about the Tarantool-patches mailing list