diff --git a/source/tutorial/configure-sharded-cluster-balancer.txt b/source/tutorial/configure-sharded-cluster-balancer.txt index 8b6dac6fdf5..b93aa8ecd6f 100644 --- a/source/tutorial/configure-sharded-cluster-balancer.txt +++ b/source/tutorial/configure-sharded-cluster-balancer.txt @@ -127,14 +127,14 @@ The ``_secondaryThrottle`` parameter of the balancer and the :ref:`chunk migration `. By default, ``_secondaryThrottle`` is ``true``, which means each document move during chunk migration propagates to at least one secondary before the -balancer proceeds with its next operation: this is equivalent to a write +balancer proceeds with the next document: this is equivalent to a write concern of ``{ w: 2 }``. You can also configure the ``writeConcern`` for the ``_secondaryThrottle`` operation, to configure how migrations will wait for replication to complete. For more information on the replication behavior during various steps of chunk migration, -see:ref:`chunk-migration-replication`. +see :ref:`chunk-migration-replication`. To change the balancer's ``_secondaryThrottle`` and ``writeConcern`` values, connect to a :program:`mongos` instance and directly update @@ -148,8 +148,8 @@ example, from a :program:`mongo` shell connected to a use config db.settings.update( { "_id" : "balancer" }, - { $set : { "_secondaryThrottle" : false }, - { "writeConcern": { "w": "majority" } } }, + { $set : { "_secondaryThrottle" : false , + "writeConcern": { "w": "majority" } } }, { upsert : true } )