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
/data/mci/76c3f54a72fd69f47896950028d12866/bazel_cache/a66e96dcfafe8eff7b8a4acdb22a1846/execroot/_main/src/mongo/db/process_health/fault_facet_impl.cpp:69: MISSING_LOCK 154894 Accessing "this->_severity" without holding lock "mongo::process_health::FaultFacetImpl._mutex". Elsewhere, "mongo::process_health::FaultFacetImpl._severity" is written to with "FaultFacetImpl._mutex" held 1 out of 1 times (1 of these accesses strongly imply that it is necessary).
- duplicates
-
SERVER-108723 Coverity analysis defect 155003: Data race condition
-
- Closed
-