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:
A.J. Beamon 2021-02-05 22:36:54 -08:00
parent 5c4863b33e
commit 53d8bd5799
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {