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

ShardingTest::awaitBalancerRound() doesn't work in case of CSRS stepdowns

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.3, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding EMEA 2022-07-11, Sharding EMEA 2022-07-25
    • 152

      awaitBalancerRound works by polling on `balancerStatus` command and see when the number of rounds increase by one.

      If a new primary of the configsvr is elected this approach is wrong, in fact  each replicaset node of the CSRS is keeping its count of balancer rounds, so this means that there is no guarantee that the number of rounds returned by `balancerStatus` is an always increasing number.

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: