- Reference >
mongo
Shell Methods >- Sharding Methods >
- sh.getBalancerLockDetails()
sh.getBalancerLockDetails()¶
-
sh.
getBalancerLockDetails
()¶ Reports on the balancer lock.
Changed in version 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.
Returns: A document with the balancer
lock information.