sh.getBalancerState()

sh.getBalancerState()
返回: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.

MongoDB Manual (Index)

关于

生态系统

格式

资源