[Tarantool-patches] [PATCH 0/2] replication: fix reconnect on box.cfg.replication change
Serge Petrenko
sergepetrenko at tarantool.org
Thu Sep 30 22:17:38 MSK 2021
The patchset is based on branch VitaliyaIoffe/testrun-304-provide-first-luatest,
because I've written a luatest-based test.
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 | 8 ++-
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 | 64 +++++++++++++++++++
.../gh_4669_applier_reconnect_test.lua | 42 ++++++++++++
8 files changed, 167 insertions(+), 17 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)
More information about the Tarantool-patches
mailing list