翻译或纠错本页面
- Reference >
- mongo Shell Methods >
- 分片方法 >
- sh.getBalancerLockDetails()
sh.getBalancerLockDetails()¶
- sh.getBalancerLockDetails()¶
Reports on the balancer lock.
在 3.4 版更改: Starting in 3.4, the primary of the CSRS config server holds the “balancer” lock, using a process id named “ConfigServer”. This lock is never released. To determine if the balancer is running, see Check if Balancer is Running.
返回: A document with the balancer lock information.