change boolean
This commit is contained in:
parent
1a2a838df3
commit
14fa32f208
|
@ -3369,7 +3369,7 @@ ACTOR Future<Void> machineTeamRemover(DDTeamCollection* self) {
|
|||
// To avoid removing machine teams too fast, which is unlikely happen though
|
||||
wait(delay(SERVER_KNOBS->TR_REMOVE_MACHINE_TEAM_DELAY, TaskPriority::DataDistribution));
|
||||
|
||||
if (self->pauseWiggle && self->pauseWiggle->get()) {
|
||||
if (self->pauseWiggle && !self->pauseWiggle->get()) {
|
||||
wait(
|
||||
waitUntilHealthy(self,
|
||||
SERVER_KNOBS->PERPETUAL_WIGGLE_DELAY + SERVER_KNOBS->TR_REMOVE_SERVER_TEAM_EXTRA_DELAY,
|
||||
|
@ -3500,7 +3500,7 @@ ACTOR Future<Void> serverTeamRemover(DDTeamCollection* self) {
|
|||
// To avoid removing server teams too fast, which is unlikely happen though
|
||||
wait(delay(removeServerTeamDelay, TaskPriority::DataDistribution));
|
||||
|
||||
if (self->pauseWiggle && self->pauseWiggle->get()) {
|
||||
if (self->pauseWiggle && !self->pauseWiggle->get()) {
|
||||
wait(
|
||||
waitUntilHealthy(self,
|
||||
SERVER_KNOBS->PERPETUAL_WIGGLE_DELAY + SERVER_KNOBS->TR_REMOVE_SERVER_TEAM_EXTRA_DELAY,
|
||||
|
|
Loading…
Reference in New Issue