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/traffic_recorder.cpp:154: MISSING_LOCK 141026 Accessing "this->this->_written" without holding lock "mongo::TrafficRecorder::Recording._mutex". Elsewhere, "mongo::TrafficRecorder::Recording._written" is written to with "Recording._mutex" held 1 out of 1 times (1 of these accesses strongly imply that it is necessary).
- duplicates
-
SERVER-105512 Coverity analysis defect 174729: Check of thread-shared field evades lock acquisition
-
- Closed
-