After some discussion it was decided that a more appropriate means to expose the balancer state is through the controlBalancer command instead of doing it through the serverStatus section on the config server.
Going the controlBalancer way we avoid the need for clients to have to talk directly to the config server or for the mongos serverStatus command to have to do network calls.
The status will be exposed through a new parameter called status, which will return the same fields, which are now in the serverStatus.balancer section.
- is depended on by
DOCS-8140 Document the new balancer control commands and the deprecation of the old shell's balancer control scripts
- related to
DOCS-11227 Update Note in 'Disable The Balancer' section to recommend using 'balancerStop' command