New in version 3.4.
Returns a document that contains information about the status of the balancer.
You can only issue the
The command takes the following form:
The following is an example of a document returned by the command:
A string that specifies whether the balancer thread is running or stopped. Possible values are:
||A boolean that specifies if the balancer is currently in a balancing round; i.e. distributing chunks.|
||The number of balancer rounds which have occurred since the config servers were started. This value is not persisted and is reset to 0 upon restart of the config servers.|
Connect to a
mongos instance and issue the following command: