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.waitForBalancerOff()
sh.waitForBalancerOff()
¶
On this page
Definition
Definition
¶
sh.
waitForBalancerOff
(
timeout
,
interval
)
¶
Internal method that waits until the balancer is not running.
Parameter
Type
Description
timeout
integer
Milliseconds to wait.
interval
integer
Milliseconds to sleep.
See also
sh.enableBalancing()
sh.disableBalancing()
sh.getBalancerHost()
sh.getBalancerState()
sh.isBalancerRunning()
sh.setBalancerState()
sh.startBalancer()
sh.stopBalancer()
sh.waitForBalancer()
←
sh.waitForBalancer()
sh.waitForDLock()
→
Report a Problem