[Tarantool-patches] [PATCH v3 0/2] fix replication tx boundaries after local space rework

Serge Petrenko sergepetrenko at tarantool.org
Thu Jul 2 16:39:49 MSK 2020


https://github.com/tarantool/tarantool/issues/4928
https://github.com/tarantool/tarantool/tree/sp/gh-4928-tx-boundary-fix-nop

Changes in v3:
  - Instead of reordering rows in WAL, append
    a dummy NOP row to the tx end when needed.

Serge Petrenko (2):
  wal: fix tx boundaries
  replication: append NOP as the last tx row

 src/box/txn.c                                 |  23 ++-
 src/box/wal.c                                 |  27 +++-
 test/replication/gh-4928-tx-boundaries.result | 138 ++++++++++++++++++
 .../gh-4928-tx-boundaries.test.lua            |  61 ++++++++
 test/replication/suite.cfg                    |   1 +
 5 files changed, 245 insertions(+), 5 deletions(-)
 create mode 100644 test/replication/gh-4928-tx-boundaries.result
 create mode 100644 test/replication/gh-4928-tx-boundaries.test.lua

-- 
2.24.3 (Apple Git-128)



More information about the Tarantool-patches mailing list