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

Address recursive lock acquisition while shutting down the `ServerDiscoveryMonitor`

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Sharding NYC
    • ALL
    • 135

      ServerDiscoveryMonitor cancels its ongoing remote calls during shutdown, while holding SingleServerDiscoveryMonitor::_mutex. This may result in recursive lock acquisition, which could result in dead-locks: https://linux.die.net/man/3/pthread_mutex_lock

            Assignee:
            backlog-server-sharding-nyc [DO NOT USE] Backlog - Sharding NYC
            Reporter:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: