[Tarantool-patches] [PATCH v2 0/2] replication: fix reconnect on box.cfg.replication change

Serge Petrenko sergepetrenko at tarantool.org
Tue Oct 5 16:18:06 MSK 2021


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)



More information about the Tarantool-patches mailing list