Remove unnecesary moveChunk operations in balancer_defragmentation_merge_chunks

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc0, 5.3.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.3
    • Sharding EMEA 2022-02-21
    • 66
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      During the test of resharding during defragmentation, the chunks are moved back to shard 0 after resharding finishes. Now that defragmentation disables balancing on the collection it is running on, this is not necessary and can potentially cause failures due to both migrations trying to happen simultaneously.

            Assignee:
            Allison Easton
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: