Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@dev.tarantool.org, gorcunov@gmail.com
Subject: [Tarantool-patches] [PATCH 0/3] Qsync tricky crashes
Date: Fri, 31 Jul 2020 00:37:42 +0200	[thread overview]
Message-ID: <cover.1596148501.git.v.shpilevoy@tarantool.org> (raw)

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)

             reply	other threads:[~2020-07-30 22:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-30 22:37 Vladislav Shpilevoy [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1596148501.git.v.shpilevoy@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=gorcunov@gmail.com \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH 0/3] Qsync tricky crashes' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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