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/619af5dff46e1a17bdd528b3cf0d4cc6/bazel_cache/37cb047f8c0eaa2aa46e6d31e914b00b/execroot/_main/src/mongo/db/admission/rate_limiter.cpp:71: MISSING_LOCK 174667 Accessing "this->tokenBucket" without holding lock "mongo::WriteRarelyRWMutex._writeMutex". Elsewhere, "mongo::admission::RateLimiter::RateLimiterPrivate.tokenBucket" is written to with "WriteRarelyRWMutex._writeMutex" held 2 out of 2 times.
- is related to
-
SERVER-105513 Coverity analysis defect 174670: Data race condition
-
- Closed
-