Navigation
This version will reach end of life on Feb 2018. To upgrade, go to the 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.