-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Networking & Observability
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Coverity found a Quality issue: Data race condition
Details:
Coverity Issue ID: 185629
Issue Description: Thread shared data is accessed without holding an appropriate lock, possibly causing a race condition
Potential Impact: The value of the shared data will be determined by the interleaving of thread execution.
Coverity checker: MISSING_LOCK
Branch: master
File path: /src/mongo/db/ftdc/controller.cpp
Line number: Unknown
What Coverity Detected
Example 1 (cont.): "mongo::FTDCConfig.period" is written to with lock "mongo::FTDCController._mutex" held.
The issue can be viewed in Coverity here.
How do I fix this?
Refer to https://wiki.corp.mongodb.com/spaces/HGTC/pages/385852267/Guidance+on+fixing+Coverity+issues for guidance on fixing Coverity issues.
This is a false positive, what do I do?
Close the ticket and choose the appropriate resolution. Make sure to include a comment explaining why this is a false positive.