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/4197827dfd19dfe79142f7d25f6e6f0f/bazel_cache/a1dc365b351479c659b51fd1e7d5df0a/execroot/_main/src/mongo/db/storage/devnull/ephemeral_catalog_record_store.cpp:525: MISSING_LOCK 162916 Accessing "this->_data->dataSize" without holding lock "mongo::EphemeralForTestRecordStore::Data.recordsMutex". Elsewhere, "mongo::EphemeralForTestRecordStore::Data.dataSize" is written to with "Data.recordsMutex" held 9 out of 9 times.
- duplicates
-
SERVER-109733 Coverity analysis defect 148125: Data race condition
-
- Closed
-