-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
During the balance unsharded project, we will introduce two new balancer modes, so we will need to introduce a command to change between these modes. This command should not be able to switch the balancer on and off, and should only be able to switch between the different on modes.
This command should look like:
db.adminCommand({balancerSetMode: 1,mode: <string> // can be "unshardedOnly", "shardedOnly", or "full"})