7.0 -- Coverity analysis defect 168429: 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-03-31, 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:211: MISSING_LOCK 168429 Accessing "this->_config.period" without holding lock "mongo::FTDCController._mutex". Elsewhere, "mongo::FTDCConfig.period" is written to with "FTDCController._mutex" held 1 out of 1 times (1 of these accesses strongly imply that it is necessary).

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

                Created:
                Updated:
                Resolved: