diff --git a/source/reference/parameters.txt b/source/reference/parameters.txt index 6ac1175b165..c2dedb6a40d 100644 --- a/source/reference/parameters.txt +++ b/source/reference/parameters.txt @@ -3274,28 +3274,27 @@ Sharding Parameters Type: Non-negative integer - Default: 0 + Default: 128 The maximum number of documents in each batch to delete during the cleanup stage of :ref:`chunk migration ` (or the :dbcommand:`cleanupOrphaned` command). - The default value of ``0`` indicates that the system chooses an - appropriate value, generally 128 documents. + A value of ``0`` indicates that the system chooses the default value. - The following sets the :parameter:`rangeDeleterBatchSize` to 100 + The following example sets :parameter:`rangeDeleterBatchSize` to 32 documents: .. code-block:: sh - mongod --setParameter rangeDeleterBatchSize=100 + mongod --setParameter rangeDeleterBatchSize=32 The parameter may also be set using the :dbcommand:`setParameter` command: .. code-block:: javascript - db.adminCommand( { setParameter: 1, rangeDeleterBatchSize: 100 } ) + db.adminCommand( { setParameter: 1, rangeDeleterBatchSize: 32 } ) .. parameter:: skipShardingConfigurationChecks