Coverity analysis defect 101486: Thread deadlock

XMLWordPrintableJSON

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

      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:
              Will Schultz
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: