Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27921

Add 'waitForDelete' functionality to CollectionRangeDeleter

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.7
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2017-02-13, Sharding 2017-03-06, Sharding 2017-03-27, Sharding 2017-04-17, Sharding 2017-05-08

      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.

            Assignee:
            nathan.myers Nathan Myers
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: