WaitForEndOfDefragmentation should not wait for the collection to be balanced

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2023-04-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, during waitForEndOfDefragmentation, we are calling awaitCollectionBalance to make sure that the balancerCompliant flag is correct. However, this function is used before checking the defragmentation state in the different defragmentation tests (1, 2), so we don't really want to enable the balancer and wait for balanced. Since we only want to know that the first compliance violation is not defragmenting chunks, we don't actually care if balancer compliant was returned too soon.

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

                Created:
                Updated:
                Resolved: