Coverity analysis defect 173571: Data race condition

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL
    • QE 2025-05-12, QE 2025-05-26, QE 2025-06-09, QE 2025-06-23, QE 2025-07-07, QE 2025-07-21, QE 2025-08-04, QE 2025-08-18, QE 2025-09-01
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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/12589613ae961649d349d5c17866df2a/bazel_cache/c5778557a13dc68b3dc104090c678ab1/execroot/_main/src/mongo/db/server_parameter.cpp:197: MISSING_LOCK 173571 Accessing "this->_minFCV" without holding lock "mongo::ServerParameter._mutex". Elsewhere, "mongo::ServerParameter._minFCV" is written to with "ServerParameter._mutex" held 1 out of 1 times.

              Assignee:
              Justin Seyster
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: