Skip to content

Commit 7636e96

Browse files
committed
DOCS-14078 update rangeDeleterBatchSize default value
1 parent 405e22a commit 7636e96

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

source/reference/parameters.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3271,28 +3271,27 @@ Sharding Parameters
32713271

32723272
Type: Non-negative integer
32733273

3274-
Default: 0
3274+
Default: 128
32753275

32763276
The maximum number of documents in each batch to delete during the
32773277
cleanup stage of :ref:`chunk migration <chunk-migration-procedure>`
32783278
(or the :dbcommand:`cleanupOrphaned` command).
32793279

3280-
The default value of ``0`` indicates that the system chooses an
3281-
appropriate value, generally 128 documents.
3280+
A value of ``0`` indicates that the system chooses the default value.
32823281

3283-
The following sets the :parameter:`rangeDeleterBatchSize` to 100
3282+
The following example sets :parameter:`rangeDeleterBatchSize` to 32
32843283
documents:
32853284

32863285
.. code-block:: sh
32873286

3288-
mongod --setParameter rangeDeleterBatchSize=100
3287+
mongod --setParameter rangeDeleterBatchSize=32
32893288

32903289
The parameter may also be set using the :dbcommand:`setParameter`
32913290
command:
32923291

32933292
.. code-block:: javascript
32943293

3295-
db.adminCommand( { setParameter: 1, rangeDeleterBatchSize: 100 } )
3294+
db.adminCommand( { setParameter: 1, rangeDeleterBatchSize: 32 } )
32963295

32973296
.. parameter:: skipShardingConfigurationChecks
32983297

0 commit comments

Comments
 (0)