Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/3] Qsync tricky crashes
@ 2020-07-30 22:37 Vladislav Shpilevoy
  2020-07-30 22:37 ` [Tarantool-patches] [PATCH 1/3] txn_limbo: handle ROLLBACK during CONFIRM Vladislav Shpilevoy
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Vladislav Shpilevoy @ 2020-07-30 22:37 UTC (permalink / raw)
  To: tarantool-patches, gorcunov

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)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-31 22:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-30 22:37 [Tarantool-patches] [PATCH 0/3] Qsync tricky crashes Vladislav Shpilevoy
2020-07-30 22:37 ` [Tarantool-patches] [PATCH 1/3] txn_limbo: handle ROLLBACK during CONFIRM Vladislav Shpilevoy
2020-07-30 22:37 ` [Tarantool-patches] [PATCH 2/3] txn_limbo: handle CONFIRM during ROLLBACK Vladislav Shpilevoy
2020-07-30 22:37 ` [Tarantool-patches] [PATCH 3/3] txn_limbo: handle duplicate ACKs Vladislav Shpilevoy
2020-07-31 13:59 ` [Tarantool-patches] [PATCH 0/3] Qsync tricky crashes Cyrill Gorcunov
2020-07-31 22:31   ` Vladislav Shpilevoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox