Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladimir Davydov <vdavydov.dev@gmail.com>
To: Konstantin Belyavskiy <k.belyavskiy@tarantool.org>
Cc: tarantool-patches@freelists.org
Subject: Re: [PATCH v2 0/2] recover missing local data from replica
Date: Fri, 30 Mar 2018 19:52:40 +0300	[thread overview]
Message-ID: <20180330165240.zdr2kpeelgwb2n7s@esperanza> (raw)
In-Reply-To: <cover.1522417861.git.k.belyavskiy@tarantool.org>

Pushed to 1.9

On Fri, Mar 30, 2018 at 05:03:13PM +0300, Konstantin Belyavskiy wrote:
> 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

      parent reply	other threads:[~2018-03-30 16:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
2018-03-30 14:03 ` [PATCH v2 2/2] replication: recover missing local data from replica Konstantin Belyavskiy
2018-03-30 16:52 ` Vladimir Davydov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180330165240.zdr2kpeelgwb2n7s@esperanza \
    --to=vdavydov.dev@gmail.com \
    --cc=k.belyavskiy@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [PATCH v2 0/2] recover missing local data from replica' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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