From: Serge Petrenko via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: sergos@tarantool.org
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH v2 0/2] replication: fix reconnect on box.cfg.replication change
Date: Tue, 5 Oct 2021 16:18:06 +0300 [thread overview]
Message-ID: <cover.1633439400.git.sergepetrenko@tarantool.org> (raw)
Changes in v2:
- review fixes as per review from Vlad
https://github.com/tarantool/tarantool/issues/4669
https://github.com/tarantool/tarantool/tree/sp/gh-4669-replication-reconnect
Serge Petrenko (2):
replicaiton: make anon replica connect to quorum upon reconfiguration
replication: fix replica disconnect upon reconfiguration
.../gh-4669-applier-reconfig-reconnect.md | 5 ++
src/box/box.cc | 31 ++++++---
src/box/replication.cc | 41 ++++++++----
src/box/replication.h | 4 +-
test/instance_files/base_instance.lua | 3 +-
test/instance_files/replica.lua | 17 +++++
test/luatest_helpers/server.lua | 65 +++++++++++++++++++
.../gh_4669_applier_reconnect_test.lua | 40 ++++++++++++
8 files changed, 184 insertions(+), 22 deletions(-)
create mode 100644 changelogs/unreleased/gh-4669-applier-reconfig-reconnect.md
create mode 100755 test/instance_files/replica.lua
create mode 100644 test/replication-luatest/gh_4669_applier_reconnect_test.lua
--
2.30.1 (Apple Git-130)
next reply other threads:[~2021-10-05 13:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-05 13:18 Serge Petrenko via Tarantool-patches [this message]
2021-10-05 13:18 ` [Tarantool-patches] [PATCH v2 1/2] replicaiton: make anon replica connect to quorum upon reconfiguration Serge Petrenko via Tarantool-patches
2021-10-12 9:56 ` sergos via Tarantool-patches
2021-10-12 13:38 ` Serge Petrenko via Tarantool-patches
2021-10-13 16:00 ` sergos via Tarantool-patches
2021-10-05 13:18 ` [Tarantool-patches] [PATCH v2 2/2] replication: fix replica disconnect " Serge Petrenko via Tarantool-patches
2021-10-12 10:14 ` sergos via Tarantool-patches
2021-10-12 14:14 ` Serge Petrenko via Tarantool-patches
2021-10-13 16:00 ` sergos via Tarantool-patches
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=cover.1633439400.git.sergepetrenko@tarantool.org \
--to=tarantool-patches@dev.tarantool.org \
--cc=sergepetrenko@tarantool.org \
--cc=sergos@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH v2 0/2] replication: fix reconnect on box.cfg.replication change' \
/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