[DOCS-8963] The sh.setBalancerState(false) command returns a misleading result on shard mongods Created: 28/Sep/16 Updated: 30/Oct/23 Resolved: 19/Jul/17 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Emily Hall | Assignee: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 6 years, 30 weeks ago | ||||||||
| Epic Link: | 3.4: Sharding Updates | ||||||||
| Description |
|
The documented approach to stopping the shard balancer is to use the "sh.setBalancerState(false)" command on the mongos. However the command can also be run on any mongod, and no exception is raised. This is because the the command successfully writes to the local config, but this is nonsensical on a mongod. This can mislead the user into thinking the command has given the desired result. This server request is to add some exception handling to help prevent this confusion. |
| Comments |
| Comment by Kay Kim (Inactive) [ 19/Jul/17 ] |
|
actually a 3.2 ticket. |
| Comment by Githook User [ 19/Jul/17 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: |
| Comment by Githook User [ 19/Jul/17 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: |