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

Make range deleter service observer register tasks with ongoing queries future

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.2.0-rc0
    • Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2022-08-22, Sharding EMEA 2022-09-05, Sharding EMEA 2022-09-19

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: