Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Repl 2021-11-01
Description
We need to hold the global lock across scheduled calls in FileCopyBasedInitialSyncer. Our current method for doing this involves holding RAII objects (GlobalLock) in places other than the stack. GlobalLock holds an _opCtx, and _opCtx are associated with a particular client, which are typically associated with a particular thread. We need to use a different method to keep this lock held.