Submit tasks to the CollectionRangeDeleter when config.rangeDeletions is updated

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2019-11-04
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the ShardServerOpObserver::onUpdates function, if we observe an update to config.rangeDeletions removing the "prepare" field, we should call CollectionShardingRuntime::cleanupRange for the range specified in the document.

      We can test this independently with a jstest:

      1. Insert orphans directly into a shard
      2. Insert a document directly into config.rangeDeletions
      3. Assert that orphans eventually are removed.

            Assignee:
            Alexander Taskov (Inactive)
            Reporter:
            Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: