Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH 0/2] [replication] [recovery] recover missing data
@ 2018-03-29 16:15 Konstantin Belyavskiy
  2018-03-29 16:15 ` [tarantool-patches] [PATCH 1/2] " Konstantin Belyavskiy
  2018-03-29 16:15 ` [tarantool-patches] [PATCH 2/2] " Konstantin Belyavskiy
  0 siblings, 2 replies; 5+ messages in thread
From: Konstantin Belyavskiy @ 2018-03-29 16:15 UTC (permalink / raw)
  To: tarantool-patches

This changes fix issue with recovery missing local data
by using the one from replica.
And add vclock comparison as necessarry sync condition.
Splitted across two patches:
 - Add vclock comparison as sync condition and update test.
 - All required changes to make this recovery possibel and
   new test.

Konstantin Belyavskiy (2):
  [replication] [recovery] recover missing data
  [replication] [recovery] recover missing data

 src/box/applier.cc                        |  16 +++--
 src/box/relay.cc                          |  16 ++++-
 src/box/wal.cc                            |  15 +++-
 test/replication/catch.result             |   5 +-
 test/replication/recover_missing.result   | 116 ++++++++++++++++++++++++++++++
 test/replication/recover_missing.test.lua |  41 +++++++++++
 test/replication/suite.ini                |   2 +-
 7 files changed, 199 insertions(+), 12 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] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-29 16:15 [tarantool-patches] [PATCH 0/2] [replication] [recovery] recover missing data Konstantin Belyavskiy
2018-03-29 16:15 ` [tarantool-patches] [PATCH 1/2] " Konstantin Belyavskiy
2018-03-30 11:17   ` Vladimir Davydov
2018-03-29 16:15 ` [tarantool-patches] [PATCH 2/2] " Konstantin Belyavskiy
2018-03-30 11:33   ` Vladimir Davydov

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