Update fdbclient/ManagementAPI.actor.cpp

Co-Authored-By: etschannen <36455792+etschannen@users.noreply.github.com>
This commit is contained in:
A.J. Beamon 2019-01-29 11:34:50 -08:00 committed by GitHub
parent 699f8dd617
commit a49aea29d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -861,7 +861,7 @@ ACTOR Future<CoordinatorsResult::Type> changeQuorum( Database cx, Reference<IQuo
} }
if(result == CoordinatorsResult::NOT_ENOUGH_MACHINES && notEnoughMachineResults < 1) { 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++; notEnoughMachineResults++;
wait( delay(1.0) ); wait( delay(1.0) );
tr.reset(); tr.reset();