7.0 -- Coverity analysis defect 168900: Data race condition

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: 7.0.17
    • Component/s: Internal Code
    • Networking & Observability
    • ALL
    • N&O 2025-04-14
    • None
    • 3
    • 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
      /src/mongo/db/ftdc/controller.cpp:242: MISSING_LOCK 168900 Accessing "this->_config.enabled" without holding lock "mongo::FTDCController._mutex". Elsewhere, "mongo::FTDCConfig.enabled" is written to with "FTDCController._mutex" held 2 out of 2 times.

              Assignee:
              David Goffredo
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: