Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/2] fix vlock obtainment on join & join_vclock test
@ 2019-12-30 17:46 Ilya Kosarev
  2019-12-30 17:47 ` [Tarantool-patches] [PATCH 1/2] relay: fix vclock obtainment on join Ilya Kosarev
  2019-12-30 17:47 ` [Tarantool-patches] [PATCH 2/2] test: fix and split flaky join_vclock test Ilya Kosarev
  0 siblings, 2 replies; 5+ messages in thread
From: Ilya Kosarev @ 2019-12-30 17:46 UTC (permalink / raw)
  To: tarantool-patches; +Cc: v.shpilevoy

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-12-31  9:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-30 17:46 [Tarantool-patches] [PATCH 0/2] fix vlock obtainment on join & join_vclock test Ilya Kosarev
2019-12-30 17:47 ` [Tarantool-patches] [PATCH 1/2] relay: fix vclock obtainment on join Ilya Kosarev
2019-12-31  9:11   ` Kirill Yukhin
2019-12-30 17:47 ` [Tarantool-patches] [PATCH 2/2] test: fix and split flaky join_vclock test Ilya Kosarev
2019-12-31  9:12   ` Kirill Yukhin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox