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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0, 5.3.0-rc1
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.3

    Description

      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.

      Attachments

        Activity

          People

            paolo.polato@mongodb.com Paolo Polato
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: