[tarantool-patches] [PATCH v2 0/2] Transaction boundaries in replication protocol
Georgy Kirichenko
georgy at tarantool.org
Tue Jan 22 13:57:24 MSK 2019
This patchset introduces transactional replication and consist of two
commits:
* the first one forms transaction boundaries in a xstream
* the second one forms transactions in applier buffers and then
applies them with correct begin/commit boundaries.
Note: this pathchset based on g.kirichenko/gh-980-disable-lsn-gaps
Note: distributed transaction are not supported so journal forms a
separate transaction for all local triggers effects.
Changes in v2:
- Rebased against latest 2.1
- Fixed local transaction extraction
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 | 207 ++++++++++++++++++++++++----------
src/box/iproto_constants.h | 3 +
src/box/wal.c | 36 +++++-
src/box/xrow.c | 38 +++++++
src/box/xrow.h | 5 +-
test/unit/xrow.cc | 3 +
test/vinyl/errinj_stat.result | 8 +-
test/vinyl/layout.result | 24 ++--
test/vinyl/stat.result | 78 ++++++-------
9 files changed, 286 insertions(+), 116 deletions(-)
--
2.20.1
More information about the Tarantool-patches
mailing list