If a quorum change has to retry, it's possible that one of our previously chosen coordinators could be rebooting.
This commit is contained in:
parent
5c4863b33e
commit
53d8bd5799
|
@ -990,7 +990,7 @@ ACTOR Future<CoordinatorsResult::Type> changeQuorum( Database cx, Reference<IQuo
|
|||
if(g_network->isSimulated()) {
|
||||
for(int i = 0; i < (desiredCoordinators.size()/2)+1; i++) {
|
||||
auto process = g_simulator.getProcessByAddress(desiredCoordinators[i]);
|
||||
ASSERT(process->isReliable());
|
||||
ASSERT(process->isReliable() || process->rebooting);
|
||||
|
||||
g_simulator.protectedAddresses.insert(process->addresses.address);
|
||||
if(process->addresses.secondaryAddress.present()) {
|
||||
|
|
Loading…
Reference in New Issue