[Tarantool-patches] [PATCH 00/13] Applier rollback reason
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Sat Jun 12 00:56:04 MSK 2021
Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-6027-rollback-reason
Issue: https://github.com/tarantool/tarantool/issues/6027
Vladislav Shpilevoy (13):
error: introduce ER_CASCADE_ROLLBACK
test: remove replica-applier-rollback.lua
journal: make journal_write() set diag on error
wal: refactor wal_write_to_disk()
diag: introduce diag_set_detailed()
wal: encapsulate ER_WAL_IO
txn: change limbo rollback check in the trigger
journal: introduce proper error codes
txn: assert after WAL write that txn is not done
txn: install proper diag errors on txn fail
wal: introduce JOURNAL_ENTRY_ERR_CASCADE
txn: introduce TXN_SIGNATURE_ABORT
txn: stop TXN_SIGNATURE_ABORT override
.../unreleased/gh-6027-applier-lost-error.md | 7 ++
src/box/applier.cc | 18 ++--
src/box/box.cc | 8 +-
src/box/errcode.h | 3 +-
src/box/journal.c | 16 ++++
src/box/journal.h | 30 ++++++-
src/box/memtx_engine.c | 2 +-
src/box/raft.c | 10 ++-
src/box/txn.c | 87 +++++++++++++------
src/box/txn.h | 38 +++++++-
src/box/txn_limbo.c | 37 ++++----
src/box/vy_scheduler.c | 2 +-
src/box/wal.c | 50 ++++++-----
src/lib/core/diag.h | 9 +-
test/box/errinj.result | 2 +-
test/box/error.result | 3 +-
.../gh-4730-applier-rollback.result | 2 +-
.../gh-4730-applier-rollback.test.lua | 2 +-
.../gh-6027-applier-error-show.result | 82 +++++++++++++++++
.../gh-6027-applier-error-show.test.lua | 31 +++++++
test/replication/replica-applier-rollback.lua | 16 ----
test/replication/suite.cfg | 1 +
test/replication/suite.ini | 2 +-
23 files changed, 348 insertions(+), 110 deletions(-)
create mode 100644 changelogs/unreleased/gh-6027-applier-lost-error.md
create mode 100644 test/replication/gh-6027-applier-error-show.result
create mode 100644 test/replication/gh-6027-applier-error-show.test.lua
delete mode 100644 test/replication/replica-applier-rollback.lua
--
2.24.3 (Apple Git-128)
More information about the Tarantool-patches
mailing list