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

Potential deadlock when running connPoolSync

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 2.0.9, 2.2.4
    • Sharding
    • None
    • ALL

    Description

      This was based from a user report at google groups:

      https://groups.google.com/forum/?hl=en-US&fromgroups#!topic/mongodb-dev/g1BULoCq1ck

      Condition to actually trigger the deadlock (not the just the MutexDebugger warning) is to call connPoolSync when the ReplicaSetMonitor's master node was flagged as not ok.

      This is not an issue in the master branch because SERVER-6972 removed the ScopedDbConnection inside ReplicaSetMonitor::_checkStatus.

      Attachments

        Activity

          People

            randolph@mongodb.com Randolph Tan
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: