Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-44103

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

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

      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@mongodb.com Cheahuychou Mao
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: