balancer_defragmentation_merge_chunks should recreate collection between tests

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The jstest balancer_defragmentation_merge_chunks currently creates a fragmented collection at the beginning of the test and then uses this collection throughout the test. Since defragmentation is turned on and off multiple times, it could happen that all chunks have been merged by the time the next test runs.

      We should reinitialize a fragmented collection between tests to ensure there are still actions to be done.

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

              Created:
              Updated:
              Resolved: