diff --git a/fdbserver/DataDistribution.actor.cpp b/fdbserver/DataDistribution.actor.cpp index 721dcd11df..443c47fc7b 100644 --- a/fdbserver/DataDistribution.actor.cpp +++ b/fdbserver/DataDistribution.actor.cpp @@ -1682,7 +1682,7 @@ struct DDTeamCollection : ReferenceCounted { } // Each machine is expected to have SERVER_KNOBS->DESIRED_TEAMS_PER_SERVER, - // remainingMachineTeamBudget is the number of machine teams needed to ensure every machine has SERVER_KNOBS->DESIRED_TEAMS_PER_SERVER teams + // remainingMachineTeamBudget is the number of machine teams needed to ensure every machine has SERVER_KNOBS->DESIRED_TEAMS_PER_SERVER teams int getRemainingMachineTeamBudget() { int remainingMachineTeamBudget = 0; for ( auto& m : machine_info ) { diff --git a/fdbserver/QuietDatabase.actor.cpp b/fdbserver/QuietDatabase.actor.cpp index 9edb9d06e3..7350420775 100644 --- a/fdbserver/QuietDatabase.actor.cpp +++ b/fdbserver/QuietDatabase.actor.cpp @@ -305,7 +305,6 @@ ACTOR Future getTeamCollectionValid(Database cx, WorkerInterface dataDistr // The if condition should be consistent with the condition in teamRemover() that decides // if redundant teams exist. if (healthyMachineTeamCount > desiredMachineTeamNumber || - minServerTeamOnServer <= 0 || minMachineTeamOnMachine <= 0 ) { TraceEvent("GetTeamCollectionValid") .detail("CurrentTeamNumber", currentTeamNumber)