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

Coverity analysis defect 101487: Thread deadlock

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

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

      Defect 101487 (STATIC_C)
      Checker ORDER_REVERSAL (subcategory none)
      File: /src/mongo/db/repl/initial_syncer.cpp
      Function mongo::repl::InitialSyncer::_getNextApplierBatchCallback(const mongo::executor::TaskExecutor::CallbackArgs &, 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:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: