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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.3, 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding EMEA 2022-07-11, Sharding EMEA 2022-07-25
    • 152

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: