Coverity analysis defect 176624: Thread deadlock

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines - Server Integration
    • ALL
    • Cooked4Christmas - 2025-12-23, ChristmaSESI - 2026-01-13, ReturnOfTheNix - 2026-02-10
    • 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/storage/storage_engine_change_context.cpp:96: ORDER_REVERSAL 176624 "lk" and "this->_mutex" point to the same lock. [Note: The source code implementation of the function has been overridden by a builtin model.]

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

              Created:
              Updated:
              Resolved: