From: Georgy Kirichenko <georgy@tarantool.org> To: tarantool-patches@freelists.org Cc: Georgy Kirichenko <georgy@tarantool.org> Subject: [tarantool-patches] [PATCH v5 0/2] Transaction boundaries in replication protocol Date: Thu, 21 Feb 2019 18:29:15 +0300 [thread overview] Message-ID: <cover.1550641903.git.georgy@tarantool.org> (raw) This patchset introduces transactional replication and consist of two commits: * the first one forms transaction boundaries in a xlog * the second one forms a transaction in applier buffers and then applies them between begin and commit boundaries. Changes in v5: - Renames according to review - Missing files were added Changes in v4: - Minor fixes according to review - xlog transaction boundaries test - Rebased against latest 2.1 Changes in v3: - Change encoding in order to achieve better compaction - Transactional replication test Changes in v2: - Rebased against latest 2.1 - Fixed extraction for local replication effects Issue: https://github.com/tarantool/tarantool/issues/2798 Branch: https://github.com/tarantool/tarantool/tree/g.kirichenko/gh-2798-transaction-boundaries Georgy Kirichenko (2): Journal transaction boundaries Transaction support for applier src/box/applier.cc | 216 ++++++++++++++++++----- src/box/applier.h | 5 + src/box/iproto_constants.c | 8 +- src/box/iproto_constants.h | 7 + src/box/lua/xlog.c | 10 ++ src/box/txn.c | 17 +- src/box/txn.h | 4 + src/box/wal.c | 5 + src/box/xrow.c | 33 ++++ src/box/xrow.h | 4 +- test/replication/transaction.result | 240 ++++++++++++++++++++++++++ test/replication/transaction.test.lua | 86 +++++++++ test/unit/xrow.cc | 2 + 13 files changed, 584 insertions(+), 53 deletions(-) create mode 100644 test/replication/transaction.result create mode 100644 test/replication/transaction.test.lua -- 2.20.1
next reply other threads:[~2019-02-21 15:27 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-02-21 15:29 Georgy Kirichenko [this message] 2019-02-20 5:59 ` [tarantool-patches] [PATCH v4 1/2] Journal transaction boundaries Georgy Kirichenko 2019-02-20 5:59 ` [tarantool-patches] [PATCH v4 2/2] Transaction support for applier Georgy Kirichenko
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.1550641903.git.georgy@tarantool.org \ --to=georgy@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='Re: [tarantool-patches] [PATCH v5 0/2] Transaction boundaries in replication protocol' \ /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