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

Synchronize shutdown with resuming of range deletions

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-10-03

      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.

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

              Created:
              Updated:
              Resolved: