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

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2, v4.0
    • Sprint:
      Sharding 2019-10-21, Sharding 2019-11-04
    • Linked BF Score:
      19

      Description

      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".

        Attachments

          Activity

            People

            Assignee:
            cheahuychou.mao Cheahuychou Mao
            Reporter:
            renctan Randolph Tan
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: