- Reference >
mongosh
Methods >- Sharding Methods >
- sh.isBalancerRunning()
sh.isBalancerRunning()¶
On this page
Output Document¶
The following is an example of a document returned by the command:
Field | Description |
---|---|
mode |
String that specifies whether the balancer thread is running or stopped. Possible values are:
|
inBalancerRound |
Boolean that specifies if the balancer is currently in a balancing round. |
numBalancerRounds |
Number of balancer rounds which have occurred since the config servers were started. This value is reset to 0 when the config servers are restarted. |
ok |
See Command Response. |
$clusterTime |
See Command Response. |
operationTime |
See Command Response. |