[SERVER-24685] Do not enable balancer in sharding/auto1.js Created: 21/Jun/16  Updated: 25/Jan/17  Resolved: 21/Jun/16

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

Type: Task Priority: Major - P3
Reporter: Andy Schwerin Assignee: Andy Schwerin
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 16 (06/24/16)
Participants:
Linked BF Score: 0

 Description   

The test sharding/auto1.js exists to confirm that chunks get automatically split as they grow due to data insertion. This behavior does not require the balancer to be enabled. Furthermore, the balancer can interfere with chunk splitting over short time periods, since both require the distributed collection lock. That can lead to spurious failures of this test, so we should just disable the balancer in this test.



 Comments   
Comment by Githook User [ 21/Jun/16 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-24685 Disable balancer in sharding/auto1.js

That test is only actually testing auto-split behavior. Having the balancer on
increases the likelihood that the test fails due to a distributed lock acquisition
conflict and timeout, which does not indicate a bug in autosplit logic.
Branch: master
https://github.com/mongodb/mongo/commit/43d7519e474a318e6b1c6e998f371a26aec6abf8

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