Coverity analysis defect 149798: Thread deadlock

XMLWordPrintableJSON

    • Replication
    • ALL
    • Repl 2025-08-04, Repl 2025-08-18, Repl 2025-09-01, Repl 2025-09-15, Repl 2025-09-29, Repl 2025-10-13, Repl 2025-10-27, Repl 2025-11-10, Repl 2025-12-22
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Thread deadlock

      Two threads will be stuck waiting forever if each holds a lock the other needs to acquire. Threads may try to acquire two locks in different orders, potentially causing deadlock
      /src/mongo/db/repl/initial_syncer.cpp:1114: ORDER_REVERSAL 149798 Calling "unique_lock" acquires lock "mongo::repl::InitialSyncer._mutex". [Note: The source code implementation of the function has been overridden by a builtin model.]

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

              Created:
              Updated:
              Resolved: