[SERVER-22803] Increase timeout for ShardingTest.{stop/start}Balancer Created: 23/Feb/16  Updated: 25/Jan/17  Resolved: 23/Feb/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.3.3

Type: Task Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Sharding 11 (03/11/16)
Participants:
Linked BF Score: 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.



 Comments   
Comment by Githook User [ 23/Feb/16 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-22803 Increase timeout for ShardingTest.

{stop/start}

Balancer
Branch: master
https://github.com/mongodb/mongo/commit/fec174d567388fdd7074d037d1bfa6207ce39e9c

Generated at Thu Feb 08 04:01:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.