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

RangeDeleterService::CRUDUtils must offer a `dropRangeDeletionTasks` method

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Sharding EMEA

      The dropRangeDeletionTasks(UUID collUUID) method must delete all range deletion task documents present on disk for the collection with the specified id.

      As a consequence, the observer will also trigger the deregistration of the deleted tasks.

      As part of this ticket, also enhance RangeDeleterService::deregisterTask in order to:

      • Avoid creating the set in case of deregistration (currently it does because _rangeDeletionTasks[collUUID] has the effect of retrieving OR creating the set if not existing).
      • Delete the set for a collection in case its size is 0

            Assignee:
            backlog-server-sharding-emea [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: