From: Georgy Kirichenko <georgy@tarantool.org>
To: tarantool-patches@freelists.org
Cc: Georgy Kirichenko <georgy@tarantool.org>
Subject: [tarantool-patches] [PATCH v2 0/3] Transaction boundaries for applier
Date: Wed, 6 Mar 2019 23:16:14 +0300 [thread overview]
Message-ID: <cover.1551902962.git.georgy@tarantool.org> (raw)
This patchset consists of three patches.
* The first one removes xstream dependency from applier.
* The second one creates a separate journal transaction for all local
effects in case of replication what is needed to be able to replicate
such effects back.
* The third one turns applier into transaction mode - an applier first
fetches the whole transaction and then applies all rows within
transaction boundaries.
Changes in v2:
* Get rid of apply_initial_journal_row and apply_row from box.cc and
purge box dependency from applier.
* txn.cc and txn.h changes moved into a separate commit.
* applier_read_tx uses stailq to form a list of rows in a transaction.
* use exceptions for applier routines.
* slight changes according to review.
Georgy Kirichenko (3):
Applier gets rid of a xstream
Put all new rows to the end of journal request
Transaction support for applier
src/box/applier.cc | 276 ++++++++++++++++++++------
src/box/applier.h | 9 +-
src/box/box.cc | 68 +------
src/box/txn.c | 36 +++-
src/box/txn.h | 4 +
test/replication/transaction.result | 240 ++++++++++++++++++++++
test/replication/transaction.test.lua | 86 ++++++++
7 files changed, 581 insertions(+), 138 deletions(-)
create mode 100644 test/replication/transaction.result
create mode 100644 test/replication/transaction.test.lua
--
2.21.0
next reply other threads:[~2019-03-06 20:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-06 20:16 Georgy Kirichenko [this message]
2019-03-06 20:16 ` [tarantool-patches] [PATCH v2 1/3] Applier gets rid of a xstream Georgy Kirichenko
2019-03-07 9:31 ` Vladimir Davydov
2019-03-06 20:16 ` [tarantool-patches] [PATCH v2 2/3] Put all new rows to the end of journal request Georgy Kirichenko
2019-03-07 9:46 ` Vladimir Davydov
2019-03-07 10:38 ` [tarantool-patches] " Konstantin Osipov
2019-03-07 10:53 ` Vladimir Davydov
2019-03-07 11:22 ` Konstantin Osipov
2019-03-06 20:16 ` [tarantool-patches] [PATCH v2 3/3] Transaction support for applier Georgy Kirichenko
2019-03-07 10:38 ` Vladimir Davydov
2019-03-07 10:40 ` [tarantool-patches] " Konstantin Osipov
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.1551902962.git.georgy@tarantool.org \
--to=georgy@tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='Re: [tarantool-patches] [PATCH v2 0/3] Transaction boundaries for applier' \
/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