Try it Out
Drivers
Downloads
Community
Blog
OPTIONS
Version
Select Version
3.0 (upcoming)
2.6 (current)
2.4
2.2
Formats
HTML
PDF
EPUB
Contribute
Report a Problem
Edit on Github
Reference
>
mongo
Shell Methods
>
Sharding Methods
>
sh.waitForBalancerOff()
sh.waitForBalancerOff()
¶
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()
→
ON THIS PAGE
sh.waitForBalancerOff()
Definition
Report a Problem