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

Remove the MigrationScheduler component from the Balancer (and replace it with BalancerCommandsScheduler)

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Sharding EMEA 2021-10-18, Sharding EMEA 2021-11-01

      The Balancer is currently relying on the MigrationManager for

      1. submitting automated and manual moveChunk commands to the target shards
      2. rejoining ongoing migrations when a new Config Server Primary steps up / recovers from a crash.

      Such logic is duplicated within BalancerCommandsScheduler, which has been developed to support the execution of the Routing table defragmentation algorithm.

      The team analysed the redundancy and believes that it can be consolidated in a single component.

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

              Created:
              Updated:
              Resolved: