-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
Repl 2019-12-02
-
0
The interaction between the mock network thread and the cloner thread is somewhat perilous. In this case, we wait for the cloner by waiting on its future. This assures the callback has been scheduled to the mock network thread, but it has not actually been run. This results in a tiny race if the next operation is a runUntil and the scheduler is a bit slow at scheduling the callback.
Solution is to call runReadyNetworkOperations after waiting for the cloner in that case.
- is duplicated by
-
SERVER-44808 When we wait for the cloners, we also must deliver the callback to the network thread.
- Closed