Merge pull request #6739 from sfc-gh-jslocum/ddq_assert

fix destination limiting and cancelling logic in move_to_removed_serv…
This commit is contained in:
Xiaoxi Wang 2022-03-31 14:22:09 -07:00 committed by GitHub
commit c7d2f5fee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1378,6 +1378,7 @@ ACTOR Future<Void> dataDistributionRelocator(DDQueueData* self, RelocateData rd,
} else {
TEST(true); // move to removed server
healthyDestinations.addDataInFlightToTeam(-metrics.bytes);
rd.completeDests.clear();
wait(delay(SERVER_KNOBS->RETRY_RELOCATESHARD_DELAY, TaskPriority::DataDistributionLaunch));
}
}