Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-28886

Coverity analysis defect 101486: Thread deadlock

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
    • Fully Compatible
    • ALL
    • Repl 2017-07-31

      Threads may try to acquire two locks in different orders, potentially causing deadlock

      Defect 101486 (STATIC_C)
      Checker ORDER_REVERSAL (subcategory none)
      File: /src/mongo/db/repl/initial_syncer.cpp
      Function mongo::repl::InitialSyncer::_multiApplierCallback(const mongo::Status &, mongo::repl::OpTimeWith<long long>, unsigned int, std::shared_ptr<mongo::repl::CallbackCompletionGuard<mongo::StatusWith<mongo::repl::OpTimeWith<long long>>>>)

            Assignee:
            william.schultz@mongodb.com William Schultz (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: