fix destination limiting and cancelling logic in move_to_removed_server case
This commit is contained in:
parent
4b4082fe62
commit
9e06881673
|
@ -1378,6 +1378,7 @@ ACTOR Future<Void> dataDistributionRelocator(DDQueueData* self, RelocateData rd,
|
||||||
} else {
|
} else {
|
||||||
TEST(true); // move to removed server
|
TEST(true); // move to removed server
|
||||||
healthyDestinations.addDataInFlightToTeam(-metrics.bytes);
|
healthyDestinations.addDataInFlightToTeam(-metrics.bytes);
|
||||||
|
rd.completeDests.clear();
|
||||||
wait(delay(SERVER_KNOBS->RETRY_RELOCATESHARD_DELAY, TaskPriority::DataDistributionLaunch));
|
wait(delay(SERVER_KNOBS->RETRY_RELOCATESHARD_DELAY, TaskPriority::DataDistributionLaunch));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue