Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
Description
sh.disableBalancing() allows you to disable balancing on a given collection within a sharded database, allowing other collections which are not disabled to continue balancing.
sh.enableBalancing() re-enables balancing.
We need to make their function clearer and provide more visibility in our documentation.
The places I see that could be improved (which should not be considered an exhaustive list) are:
- Fix descriptions: http://docs.mongodb.org/manual/reference/method/js-sharding/
- sh.disableBalancing & sh.enableBalancing()
- Change the parameter description from "collection" to "namespace" to bring in line with sh.shardCollection()
- Make it clear that sh.disableBalancing() disables balancing for a specific collection.
- Make it clear that sh.enableBalancing() removes the balancing restriction on a disabled collection. I could see someone thinking this would turn on balancing in a case where the balancer was off.
- Add a section for collection level balancing settings: http://docs.mongodb.org/manual/tutorial/manage-sharded-cluster-balancer/
- We may want to add a reference to http://docs.mongodb.org/manual/tutorial/configure-sharded-cluster-balancer/ as well.
Attachments
Issue Links
- duplicates
-
DOCS-1458 Balancing is done per collection, but docs make it appear that it's per shard
-
- Closed
-