Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
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
Issue Links
- causes
-
SERVER-70888 ScopedRangeDeleterLock might lead to a deadlock on stepdown
-
- Closed
-