-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
sh.enableBalancing and sh.disableBalancing allow customer to enable and disable balancing for a specific namespace respectively. This is done by executing a write to config.collections. For Atlas customers updates to the config namespaces except for config.settings are disabled meaning that customers cannot enable or disable balancing on a namespace level outside of a workaround of misusing command such as setAllowMigrations.
In MongoDB 8.1, the server has updated the configureCollectionBalancing command to allow customers to enable and disable balancing via the command which internally updates config.collections.
It would be best if sh.enableBalancing and sh.disableBalancing were modified to interact with configureCollectionBalancing instead of issuing a direct write to the config server.
- has to be done after
-
SERVER-78849 Allow user to enable and disable balancing through configureCollectionBalancing command
-
- Closed
-
- is related to
-
SERVER-100540 Rename noBalance parameter in configureCollectionBalancing to enableBalancing
-
- In Code Review
-