Docs Menu
Docs Home
/
MongoDB Manual
/ / /

sh.waitForBalancerOff()

On this page

  • 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.

Tip

See also:

  • sh.enableBalancing()

  • sh.disableBalancing()

  • sh.getBalancerState()

  • sh.isBalancerRunning()

  • sh.setBalancerState()

  • sh.startBalancer()

  • sh.stopBalancer()

  • sh.waitForBalancer()

Back

sh.waitForBalancer()

On this page