sh.getBalancerState()
| boolean |
启用平衡器时,sh.getBalancerState() returns true when the balancer is enabled and false if the balancer is disabled. sh.getBalancerState()返回true;禁用平衡器时,它返回false。This does not reflect the current state of balancing operations: use 这并不反映平衡操作的当前状态:使用sh.isBalancerRunning() to check the current state of the balancer.sh.isBalancerRunning()检查平衡器的当前状态。