[Tarantool-patches] [PATCH 0/2] fix vlock obtainment on join & join_vclock test
Ilya Kosarev
i.kosarev at tarantool.org
Mon Dec 30 20:46:59 MSK 2019
First patch fixes vclock obtainment on join for master, as far as in
case of high load vclock used to join replica could be in advance
comparing to an actual WAL and therefore replica could have missed some
tuples from master.
Second patch fixes flaky join_vclock test and splits off explicit test
for changes apply order on replica.
Branch: https://github.com/tarantool/tarantool/tree/i.kosarev/gh-4160-fix-join-vclock
Issue: https://github.com/tarantool/tarantool/issues/4160
1st patch is for master. 2nd patch is for all branches.
Ilya Kosarev (2):
relay: fix vclock obtainment on join
test: fix and split flaky join_vclock test
src/box/relay.cc | 7 +-
src/box/vinyl.c | 4 +-
src/box/wal.c | 23 +++-
src/box/wal.h | 4 +-
test/replication/join_vclock.result | 61 ++++++---
test/replication/join_vclock.test.lua | 45 ++++---
test/replication/master1.lua | 1 +
test/replication/replica_apply_order.result | 121 ++++++++++++++++++
test/replication/replica_apply_order.test.lua | 48 +++++++
test/replication/suite.ini | 1 -
10 files changed, 263 insertions(+), 52 deletions(-)
create mode 120000 test/replication/master1.lua
create mode 100644 test/replication/replica_apply_order.result
create mode 100644 test/replication/replica_apply_order.test.lua
--
2.17.1
More information about the Tarantool-patches
mailing list