Tarantool development patches archive
 help / color / mirror / Atom feed
* [PATCH v2 0/2] recover missing local data from replica
@ 2018-03-30 14:03 Konstantin Belyavskiy
  2018-03-30 14:03 ` [PATCH v2 1/2] replication: stay in orphan mode until replica is synced by vclock Konstantin Belyavskiy
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Konstantin Belyavskiy @ 2018-03-30 14:03 UTC (permalink / raw)
  To: tarantool-patches, vdavydov

This changes fix issue with missing local data recovery
by using the one from replica.
And add vclock comparison as necessarry sync condition.

branch: https://github.com/tarantool/tarantool/compare/gh-3210-recover-missing-local-data-master-master
issue: https://github.com/tarantool/tarantool/issues/3210

Konstantin Belyavskiy (2):
  replication: stay in orphan mode until replica is synced by vclock
  replication: recover missing local data from replica

 src/box/applier.cc                        |  16 +++--
 src/box/relay.cc                          |  16 ++++-
 src/box/wal.cc                            |  15 +++-
 test/replication/catch.result             |  15 ++--
 test/replication/catch.test.lua           |   7 +-
 test/replication/recover_missing.result   | 116 ++++++++++++++++++++++++++++++
 test/replication/recover_missing.test.lua |  41 +++++++++++
 test/replication/suite.ini                |   2 +-
 8 files changed, 210 insertions(+), 18 deletions(-)
 create mode 100644 test/replication/recover_missing.result
 create mode 100644 test/replication/recover_missing.test.lua

-- 
2.14.3 (Apple Git-98)

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

end of thread, other threads:[~2018-03-30 16:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-30 14:03 [PATCH v2 0/2] recover missing local data from replica Konstantin Belyavskiy
2018-03-30 14:03 ` [PATCH v2 1/2] replication: stay in orphan mode until replica is synced by vclock Konstantin Belyavskiy
2018-03-30 14:03 ` [PATCH v2 2/2] replication: recover missing local data from replica Konstantin Belyavskiy
2018-03-30 16:52 ` [PATCH v2 0/2] " Vladimir Davydov

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