On this page
balancerStart
On this page
Definition
balancerStart-
New in version 3.4.
Starts the balancer thread. The command does not wait for a balancing round to start. You can only issue the
balancerStartagainst theadmindatabase on amongosinstance.The command takes the following form:
db.adminCommand( { balancerStart: 1, maxTimeMS: <number> } )Field Type Description balancerStartany Any value. maxTimeMSinteger Optional. Time limit for enabling the balancer.
Defaults to 60000 milliseconds.
Changed in version 3.4: If using the 3.4
mongoshell with earlier version sharded clusters, the parameter specifies the amount of time to wait for the balancing round to start.