From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Konstantin Belyavskiy Subject: [PATCH v2 0/2] recover missing local data from replica Date: Fri, 30 Mar 2018 17:03:13 +0300 Message-Id: To: tarantool-patches@freelists.org, vdavydov@tarantool.org List-ID: 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)