From: Serge Petrenko <sergepetrenko@tarantool.org> To: v.shpilevoy@tarantool.org, gorcunov@gmail.com Cc: tarantool-patches@dev.tarantool.org Subject: [Tarantool-patches] [PATCH 0/2] fix replication tx boundaries after local space rework Date: Mon, 18 May 2020 15:24:03 +0300 [thread overview] Message-ID: <cover.1589804001.git.sergepetrenko@tarantool.org> (raw) https://github.com/tarantool/tarantool/issues/4928 https://github.com/tarantool/tarantool/tree/sp/gh-4928-tx-boundary-fix The patchset fixes 2 errors in replication resulting from trying to replicate transactions mixing local and global space requests. The first patch fixes an error when a local row is the first in tx and the second patch fixes an error when a local row is the last one in tx. Serge Petrenko (2): wal: fix tx boundaries replication: make relay send txs in batches src/box/relay.cc | 98 ++++++++++--- src/box/wal.c | 26 +++- test/replication/gh-4928-tx-boundaries.result | 132 ++++++++++++++++++ .../gh-4928-tx-boundaries.test.lua | 61 ++++++++ test/replication/suite.cfg | 1 + 5 files changed, 297 insertions(+), 21 deletions(-) create mode 100644 test/replication/gh-4928-tx-boundaries.result create mode 100644 test/replication/gh-4928-tx-boundaries.test.lua -- 2.24.2 (Apple Git-127)
next reply other threads:[~2020-05-18 12:24 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-05-18 12:24 Serge Petrenko [this message] 2020-05-18 12:24 ` [Tarantool-patches] [PATCH 1/2] wal: fix tx boundaries Serge Petrenko 2020-05-19 9:08 ` Cyrill Gorcunov 2020-05-19 10:30 ` Serge Petrenko 2020-05-18 12:24 ` [Tarantool-patches] [PATCH 2/2] replication: make relay send txs in batches Serge Petrenko 2020-05-18 12:28 ` Serge Petrenko 2020-05-19 10:23 ` Cyrill Gorcunov 2020-05-19 10:49 ` Serge Petrenko 2020-05-19 11:18 ` Cyrill Gorcunov 2020-05-19 12:31 ` Serge Petrenko 2020-05-19 16:24 ` Serge Petrenko
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.1589804001.git.sergepetrenko@tarantool.org \ --to=sergepetrenko@tarantool.org \ --cc=gorcunov@gmail.com \ --cc=tarantool-patches@dev.tarantool.org \ --cc=v.shpilevoy@tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH 0/2] fix replication tx boundaries after local space rework' \ /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