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

Make range deleter service observer register tasks with ongoing queries future

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding EMEA 2022-08-22, Sharding EMEA 2022-09-05, Sharding EMEA 2022-09-19

      The range deleter service observer is currently registering tasks (here and here) by relying on the default value of waitForActiveQueriesToComplete.

      Purpose of this ticket is to register the tasks by passing the proper future that gets marked as ready once ongoing queries retaining the range are finishing.

      As part of this ticket, remember to featureflag the "wait for clean" happening in the migration destination manager: if the feature flag is active, invoke getOverlappingRangeDeletionsFuture and wait on it for at most rangeDeletionWaitDeadline , else keep on invoking waitForClean.

            Assignee:
            silvia.surroca@mongodb.com Silvia Surroca
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: