Address recursive lock acquisition while shutting down the `ServerDiscoveryMonitor`

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Sharding NYC
            Reporter:
            Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: