Returns true if the balancer process is currently running and migrating chunks and false if the balancer process is not running. Use
sh.getBalancerState()to determine if the balancer is enabled or disabled.
This page documents a
mongoshmethod. This is not the documentation for database commands or language-specific drivers, such as Node.js.
For the database command, see the
For MongoDB API drivers, refer to the language-specific MongoDB driver documentation.
For the legacy
mongoshell documentation, refer to the documentation for the corresponding MongoDB Server release: