Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Replication 2021-11-15, Replication 2021-11-29
Description
The File Copy Based Initial Syncer may be shut down via signal during a storage change. This results in a deadlock because the storage change cannot complete until the shutdown opCtx is destroyed, which it never will be. Fixed by doing initial syncer shutdown slightly earlier, before the shutdown opCtx is created.
Additionally there is a race between config changes and storage change which can cause an invariant.