Update fdbclient/ManagementAPI.actor.cpp
Co-Authored-By: etschannen <36455792+etschannen@users.noreply.github.com>
This commit is contained in:
parent
699f8dd617
commit
a49aea29d1
|
@ -861,7 +861,7 @@ ACTOR Future<CoordinatorsResult::Type> changeQuorum( Database cx, Reference<IQuo
|
|||
}
|
||||
|
||||
if(result == CoordinatorsResult::NOT_ENOUGH_MACHINES && notEnoughMachineResults < 1) {
|
||||
//we could get not_enough_machines if we happen to see then database while the coordinator is updating the worker list, so make sure it happens twice before returning a failure
|
||||
//we could get not_enough_machines if we happen to see the database while the coordinator is updating the worker list, so make sure it happens twice before returning a failure
|
||||
notEnoughMachineResults++;
|
||||
wait( delay(1.0) );
|
||||
tr.reset();
|
||||
|
|
Loading…
Reference in New Issue