- Reference >
- mongo Shell Methods >
- Sharding Methods >
- sh.getBalancerState()
sh.getBalancerState()¶
- sh.getBalancerState()¶
Returns: boolean sh.getBalancerState() returns true when the balancer is enabled and false if the balancer is disabled. This does not reflect the current state of balancing operations: use sh.isBalancerRunning() to check the balancer’s current state.
Thank you for your feedback!
We're sorry! You can Report a Problem to help us improve this page.