The waitForDelete option of moveChunk ensures that before the command returns, all orphaned documents would be deleted. This is necessary mostly for synchronization in tests, but also used by customers occasionally.
When fixing the range deleter, we should preserve this functionality as much as we can by exposing some way to block waiting until a particular range has been removed from the rangesToClean list.
- is depended on by
-
SERVER-17751 Make cleanupOrphaned cmd interruptible
- Closed
- is duplicated by
-
SERVER-19226 RangeDeleter should stop worker threads in its destructor
- Closed