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

BalancerCommandsScheduler should load the migrations to recover while holding its state mutex

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0, 5.3.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.3

      In a recent code change, the logic to load the migration recovery info at start() time has been moved out of the section protected by the mutex.

      This might be cause the recovery info op to fail if BalancerCommandsScheduler::start() gets invoked while a prior stop() is still being executed.

            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: