Details
Description
A count() command immediately following a moveChunk command can occur before the RangeDeleter completes deleting the range on the donor shard. Therefore _waitForDelete should be added to the moveChunk commands.
A count() command immediately following a moveChunk command can occur before the RangeDeleter completes deleting the range on the donor shard. Therefore _waitForDelete should be added to the moveChunk commands.