-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
ALL
-
Repl 2020-01-13, Repl 2020-01-27, Repl 2020-02-10
-
0
Since we need the initial sync mutex in the onCompletion routine of the cloners, and we cannot guarantee this routine does not run in-line with its creation (because executors may not schedule), we need to delay completion of the cloners until we can release the lock. This can be accomplished by waiting on an executor event (which, on shutdown, will trigger the callback appropriately).