[Tarantool-patches] [PATCH 0/3] Qsync tricky crashes

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Fri Jul 31 01:37:42 MSK 2020


The patchset fixes 2 crashes in qsync. 5185 wasn't reproduced, but a similar
test gave another crash, fixed here.

Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-5185-5195-qsync-crashes
Issue: https://github.com/tarantool/tarantool/issues/5185
Issue: https://github.com/tarantool/tarantool/issues/5195

@ChangeLog
* Fixed a crash when replica cleared synchronous transaction queue, while it was not empty on master (gh-5195).
* Fixed a crash when synchronous transaction rollback and confirm could be written simultaneously for the same LSN (gh-5185).

Vladislav Shpilevoy (3):
  txn_limbo: handle ROLLBACK during CONFIRM
  txn_limbo: handle CONFIRM during ROLLBACK
  txn_limbo: handle duplicate ACKs

 src/box/txn_limbo.c                           |  55 ++++-
 .../gh-5195-qsync-replica-write.result        | 156 ++++++++++++
 .../gh-5195-qsync-replica-write.test.lua      |  68 +++++
 test/replication/qsync_errinj.result          | 232 ++++++++++++++++++
 test/replication/qsync_errinj.test.lua        | 105 ++++++++
 5 files changed, 606 insertions(+), 10 deletions(-)
 create mode 100644 test/replication/gh-5195-qsync-replica-write.result
 create mode 100644 test/replication/gh-5195-qsync-replica-write.test.lua

-- 
2.21.1 (Apple Git-122.3)



More information about the Tarantool-patches mailing list