[Tarantool-patches] [PATCH 6/6] replication: prefer to join from booted replicas

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Sun Jun 6 20:06:56 MSK 2021


I added the issue description to the test:

diff --git a/test/replication/gh-5613-bootstrap-prefer-booted.test.lua b/test/replication/gh-5613-bootstrap-prefer-booted.test.lua
index d3c1c1189..4dfc39175 100644
--- a/test/replication/gh-5613-bootstrap-prefer-booted.test.lua
+++ b/test/replication/gh-5613-bootstrap-prefer-booted.test.lua
@@ -1,5 +1,13 @@
 test_run = require('test_run').new()
 
+--
+-- gh-5613: when a new replica is joined to a cluster, it must prefer
+-- bootstrapped join sources over non-bootstrapped ones, including self. Even
+-- if all the bootstrapped ones are read-only. Otherwise the node might have
+-- decided to bootstrap a new cluster on its own and won't be able to join the
+-- existing one forever.
+--


More information about the Tarantool-patches mailing list