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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-06-13
    • 25

    Description

      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.

      Attachments

        Activity

          People

            silvia.surroca@mongodb.com Silvia Surroca
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: