Disable balancing during second run of defragmentation in collection_defragmentation.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Sharding EMEA
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the teardown of collection_defragmentation.js, we wait for ongoing defragmentation to end, then we turn on the balancer and wait for balanced, and then run defragmentation again and check the status. We need to re-disable the balancer after waiting for balanced, otherwise a migration could happen after defragmentation ends and before the checks run, causing a test failure.

            Assignee:
            [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: