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

Synchronize shutdown with resuming of range deletions

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-10-03

    Description

      On step-up, range deletion tasks are recovered from disk by spawning a thread that is asynchronously taking care of registering tasks on the service in order to avoid blocking the transition to primary.

      Since tasks registration requires the acquisition of the service lock, it's needed to synchronize the resuming with shutdown that acquire the same mutex and may deadlock when trying to join the executor the resume is scheduled on.

      Attachments

        Activity

          People

            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: