clearJumbo test is not waiting a full balancer round in case of stepdown

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-06-13
    • 25
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The test clearJumbo is failing occasionally (BF-25252) because the function waitForBalancerToRun is not waiting a full round when there is a configsvr stepdown in-between the round.

      Regarding the logs, when the configsvr recovers from the stepdown, the command balancerStatus returns an incremented numBalancerRounds. Logs with filters can be found here where you can see how the _configsvrBalancerStop command is called immediately after the "CSRS balancer is starting" because of a stepdown-stepup.

      A quick suggestion would be to use the balancerCollectionStatus command instead of the balancerStatus cause it returns more detailed information.

            Assignee:
            Silvia Surroca
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: