clear_jumbo.js should wait for balancer to be on mode: full for more than one round

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v4.2, v4.0
    • Sharding 2019-10-21, Sharding 2019-11-04
    • 19
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, it only waits for balancer round number to go up:

      https://github.com/mongodb/mongo/blob/ffc6e38bc90750cc639317fc713e7bc4e0bf596e/jstests/sharding/clear_jumbo.js#L89

      However, this is problematic because the balancer round also gets incremented every time the balancer skips (and does nothing). Instead, the condition should be "balancer in mode: full for more than 1 round".

              Assignee:
              Cheahuychou Mao
              Reporter:
              Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: