BalancerCommandsScheduler should not release dist locks while holding a mutex

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-04-04, Sharding EMEA 2022-04-18
    • 43
    • None
    • None
    • None
    • None
    • None
    • None
    • None

       SERVER-60920 introduced a code change causing collection dist locks to be released by the BalancerCommandsScheduler while holding the internal mutex.

      Such state may lead to a process hang if a concurrent stepdown request is also being processed and it must be avoided.

            Assignee:
            Paolo Polato
            Reporter:
            Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: