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

XMLWordPrintableJSON

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

      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
            Reporter:
            Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: