OPTIONS

sh.stopBalancer()

Definition

sh.stopBalancer(timeout, interval)

Disables the balancer in a sharded cluster and waits for balancing to complete.

Parameter Description
timeout Milliseconds to wait.
interval Milliseconds to sleep each cycle of waiting.