Update fdbserver/ClusterController.actor.cpp

This commit is contained in:
Evan Tschannen 2019-03-22 17:00:58 -07:00 committed by GitHub
parent 70b1c88cdd
commit 6a9c9d79cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1062,7 +1062,7 @@ public:
if ((role != ProcessClass::DataDistributor && role != ProcessClass::RateKeeper) || pid == masterProcessId.get()) {
return false;
}
return isProxyOrResolver(pid) || worker.processClass.machineClassFitness(role) > id_worker[masterProcessId.get()].details.processClass.machineClassFitness(role);
return isProxyOrResolver(pid);
}
std::map< Optional<Standalone<StringRef>>, int> getUsedIds() {