mongosh
mongo
On this page
sh.waitForBalancerOff(timeout, interval)
Internal method that waits until the balancer is not running.
timeout
interval
sh.enableBalancing()
sh.disableBalancing()
sh.getBalancerState()
sh.isBalancerRunning()
sh.setBalancerState()
sh.startBalancer()
sh.stopBalancer()
sh.waitForBalancer()
Back
Next
sh.waitForPingChange()