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

Increase timeout for ShardingTest.{stop/start}Balancer

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.3
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 11 (03/11/16)
    • 0

    Description

      Lots of jstests use ShardingTest.{start/stop}Balancer to change the balancer state, without passing a timeout. sh.stopBalancer waits for a balancer round to run before terminating. The default timeout for sh.stopBalancer is 30 seconds, and the balancer only runs once every 30 seconds, so this is intrinsically a racy check.

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: