replication: fix bug with zero replication_connect_quorum
If 'box.cfg.read_only' is false, 'replication' defines at least one replica (other than itself), but they are not available at the time of box.cfg execution and replication_connect_quorum is set to zero, master displays 'orphan' status instead of 'running' since logic which cnange this state is executed only after successfull connection. Closes #3278
Showing
- src/box/replication.cc 6 additions, 2 deletionssrc/box/replication.cc
- test/replication/quorum.result 66 additions, 0 deletionstest/replication/quorum.result
- test/replication/quorum.test.lua 22 additions, 0 deletionstest/replication/quorum.test.lua
- test/replication/replica_no_quorum.lua 11 additions, 0 deletionstest/replication/replica_no_quorum.lua
Loading
Please register or sign in to comment