Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
9
Description
In the ReplicaSetMonitorCleanup test case, the variable `cleanupInvoked` is not properly guarded. The test failure https://jira.mongodb.org/browse/BF-19745 is happening because CPU is reordering the sequence of assigning `cleanupInvoked` and testing it in another thread. Fix is to add a mutex.