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

Set the balancerStop command to a bigger timeout than `receiveChunkWaitForRangeDeleterTimeoutMS` on tests

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding EMEA
    • ALL
    • Sharding EMEA 2023-07-10, Sharding EMEA 2023-07-24, Sharding EMEA 2023-08-07
    • 0

      balancerStop command waits for the current balancer round to finish before returning a response to the user.

      Since the migration timeout (receiveChunkWaitForRangeDeleterTimeoutMS, set to 90 sec) is bigger than the balancerStop maxTimeMS parameter, a balancerStop command failure would either hide a more valuable error pointing to the migration process or raise an expected error on slow variants.

      The purpose of this ticket is to increase the timeout of the balancerStop called from the ShardedClusterFixture on tearDown in order to avoid hiding migration errors and improve the debugability.

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

              Created:
              Updated:
              Resolved: