[v7.0] -- Coverity analysis defect 169091: Data race condition

XMLWordPrintableJSON

    • Networking & Observability
    • ALL
    • N&O 2025-03-31, N&O 2025-04-14, N&O 2025-04-28, N&O 2025-05-12, N&O 2025-05-26, N&O 2025-06-09, N&O 2025-06-23
    • 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/default_baton.cpp:57: MISSING_LOCK 169091 Accessing "this->_opCtx" without holding lock "mongo::DefaultBaton._mutex". Elsewhere, "mongo::DefaultBaton._opCtx" is written to with "DefaultBaton._mutex" held 2 out of 2 times.

              Assignee:
              Michael Popov (Inactive)
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: