Docs
Drivers
University
Community
Blog
Enterprise
Download
Contact
OPTIONS
Version
Select Version
3.2 (current)
3.0
2.6
2.4
2.2
Formats
PDF
EPUB
Contribute
Report a Problem
Edit on Github
Reference
>
mongo
Shell Methods
>
Sharding Methods
>
sh.getBalancerLockDetails()
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
.
←
sh._adminCommand()
sh._checkFullName()
→
Report a Problem