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

BalancerCommandsScheduler should not release dist locks while holding a mutex

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

       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@mongodb.com Paolo Polato
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: