Navigation
This version of the manual is no longer supported. Learn more about upgrading your version of MongoDB.

sh.getBalancerLockDetails()

sh.getBalancerLockDetails()

Reports on the active balancer lock, if it exists.

Returns:null if lock document does not exist or no lock is not taken. Otherwise, returns the lock document.
Return type:Document or null.