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

Remove the guard against "multiple moveChunk commands executed by the same shard" from BalancerCommandsScheduler

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Sharding EMEA 2021-09-20
    • 150

      The BalancerCommandsScheduler includes logic to ensure that there cannot be more than one moveChunk command involving a certain shard (either as a donor or recipient) under execution.

      Such check is useless (since it is already present in a higher level component , where the condition is guaranteed to be valid also for moveChunk commands issued by the MigrationManager) and it should be removed.

            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: