[DOCS-1555] sh.startBalancer() might be the wrong thing for turning balancing on after turning it off Created: 29/May/13  Updated: 30/Oct/23  Resolved: 31/Jul/13

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Richard Kreuter (Inactive) Assignee: Allison Reinheimer Moore
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-9979 Don't wait for balancer to start when... Closed
is related to DOCS-6721 Recommend sh.startBalancer() over sh.... Closed
is related to SERVER-21766 Remove waiting for balancer lock beha... Closed
Participants:
Days since reply: 8 years, 10 weeks, 6 days ago

 Description   

Places in the docs that recommend sh.startBalancer() (e.g., after backing up a sharded cluster) are probably not optimal: startBalancer turns the balancer on and waits for balancing to commence, when users probably merely want to turn the balancer back on.

There's an alternate method, sh.setBalancerState(), which can just turn the balancer on. Perhaps the docs could recommend that. Alternatively, this could turn into a Core Server issue in the shell to have a tidier method to enable balancing after a stop.



 Comments   
Comment by Spencer Brody (Inactive) [ 04/Dec/15 ]

If we don't like the behavior of sh.startBalancer, perhaps we should just change it rather than recommending people not to use it?

Comment by auto [ 31/Jul/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1555: minor setBalancerState tweak
Branch: master
https://github.com/mongodb/docs/commit/6c93a477728410be57a112e38c5838511bb399ca

Comment by auto [ 17/Jun/13 ]

Author:

{u'username': u'schmalliso', u'name': u'schmalliso', u'email': u'allison.moore@10gen.com'}

Message: DOCS-1555 correcting instructions for re-enabling balancing in sharded clsuters

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/406fa732eef8a9643fc4acf02b2a5a3e3bc37bbc

Comment by auto [ 17/Jun/13 ]

Author:

{u'username': u'schmalliso', u'name': u'schmalliso', u'email': u'allison.moore@10gen.com'}

Message: DOCS-1555 correcting instructions for re-enabling balancing in sharded clsuters

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: v2.2
https://github.com/mongodb/docs/commit/61f4987349b2d957b600d0efc72ac1a2cb71789d

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