Coverity analysis defect 150359: Data race condition

XMLWordPrintableJSON

    • Workload Resilience
    • ALL
    • Workload Scheduling 2025-09-15
    • 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/util/concurrency/ticket_pool.h:238: MISSING_LOCK 150359 Accessing "this->_waiters" without holding lock "mongo::TicketPool<mongo::SimplePriorityTicketQueue>._mutex". Elsewhere, "mongo::TicketPool<mongo::SimplePriorityTicketQueue>._waiters" is written to with "TicketPool._mutex" held 1 out of 1 times.

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

              Created:
              Updated:
              Resolved: