Thread shared data is accessed without holding an appropriate lock, possibly causing a race condition
Defect 101508 (STATIC_C)
Checker MISSING_LOCK (subcategory none)
File: /src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.h
Function mongo::EphemeralForTestRecordStore::updateStatsAfterRepair(mongo::OperationContext *, long long, long long)
/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.h, line: 132
Accessing "this->_data->dataSize" without holding lock "mongo::EphemeralForTestRecordStore::Data.recordsMutex". Elsewhere, "_ZN5mongo27EphemeralForTestRecordStore4DataE.dataSize" is accessed with "mongo::EphemeralForTestRecordStore::Data.recordsMutex" held 7 out of 9 times.
_data->dataSize = dataSize;