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

Deadlock ReplicaSetMonitorManager on shutdown

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.3, 3.5.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Sharding 2017-02-13
    • 0

      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.

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: