Skip to content

Commit dcb56fb

Browse files
committed
DOCS-14078 update rangeDeleterBatchSize default value
1 parent 20c3e15 commit dcb56fb

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
@@ -3274,28 +3274,27 @@ Sharding Parameters
32743274

32753275
Type: Non-negative integer
32763276

3277-
Default: 0
3277+
Default: 128
32783278

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

3283-
The default value of ``0`` indicates that the system chooses an
3284-
appropriate value, generally 128 documents.
3283+
A value of ``0`` indicates that the system chooses the default value.
32853284

3286-
The following sets the :parameter:`rangeDeleterBatchSize` to 100
3285+
The following example sets :parameter:`rangeDeleterBatchSize` to 32
32873286
documents:
32883287

32893288
.. code-block:: sh
32903289

3291-
mongod --setParameter rangeDeleterBatchSize=100
3290+
mongod --setParameter rangeDeleterBatchSize=32
32923291

32933292
The parameter may also be set using the :dbcommand:`setParameter`
32943293
command:
32953294

32963295
.. code-block:: javascript
32973296

3298-
db.adminCommand( { setParameter: 1, rangeDeleterBatchSize: 100 } )
3297+
db.adminCommand( { setParameter: 1, rangeDeleterBatchSize: 32 } )
32993298

33003299
.. parameter:: skipShardingConfigurationChecks
33013300

0 commit comments

Comments
 (0)