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

Deadlock ReplicaSetMonitorManager on shutdown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.3, 3.5.3
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4
    • Sprint:
      Sharding 2017-02-13
    • Linked BF Score:
      0

      Description

      ReplicaSetMonitorManager calls

      _taskExecutor->join()
      

      while holding a mutex which is not a good idea as another thread can run the task on the _taskExecutor that will need to lock the same mutex that is held in the shutdown.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: