[SERVER-18146] Cannot stop balancer Created: 20/Apr/15  Updated: 21/Apr/15  Resolved: 21/Apr/15

Status: Closed
Project: Core Server
Component/s: Sharding, WiredTiger
Affects Version/s: 3.0.2
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Kam Lall Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

I cannot understand why I cannot stop the balancer:

mongos> sh.stopBalancer()
Waiting for active hosts...
Waiting for the balancer lock...
Waiting again for active hosts after balancer is off...

I don't know if it was because some mongos were running 3.0.1-rc0 and then I updated the binaries to 3.0.2. All binaries for all dbs/mongos are at 3.0.2 now.



 Comments   
Comment by Kam Lall [ 20/Apr/15 ]

Actually the balancer stops but curious why this happens all the time now.. Never seen it before

mongos> sh.stopBalancer()
Waiting for active hosts...
Waiting for the balancer lock...
Waiting again for active hosts after balancer is off...
mongos> sh.getBalancerState()
false

Generated at Thu Feb 08 03:46:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.