Data race condition
The value of the shared data will be determined by the interleaving of thread execution. Thread shared data is accessed without holding an appropriate lock, possibly causing a race condition
/src/mongo/db/repl/wait_for_majority_service.cpp:163: MISSING_LOCK 154259 Accessing "this->_backgroundWorkComplete" without holding lock "mongo::WaitForMajorityServiceImplBase._mutex". Elsewhere, "mongo::WaitForMajorityServiceImplBase._backgroundWorkComplete" is written to with "WaitForMajorityServiceImplBase._mutex" held 1 out of 1 times.