Skip to content

Commit 0d9c2fb

Browse files
committed
DOCS-14078 update rangeDeleterBatchSize default value
1 parent a036613 commit 0d9c2fb

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
@@ -3261,28 +3261,27 @@ Sharding Parameters
32613261

32623262
Type: Non-negative integer
32633263

3264-
Default: 0
3264+
Default: 128
32653265

32663266
The maximum number of documents in each batch to delete during the
32673267
cleanup stage of :ref:`chunk migration <chunk-migration-procedure>`
32683268
(or the :dbcommand:`cleanupOrphaned` command).
32693269

3270-
The default value of ``0`` indicates that the system chooses an
3271-
appropriate value, generally 128 documents.
3270+
A value of ``0`` indicates that the system chooses the default value.
32723271

3273-
The following sets the :parameter:`rangeDeleterBatchSize` to 100
3272+
The following example sets :parameter:`rangeDeleterBatchSize` to 32
32743273
documents:
32753274

32763275
.. code-block:: sh
32773276

3278-
mongod --setParameter rangeDeleterBatchSize=100
3277+
mongod --setParameter rangeDeleterBatchSize=32
32793278

32803279
The parameter may also be set using the :dbcommand:`setParameter`
32813280
command:
32823281

32833282
.. code-block:: javascript
32843283

3285-
db.adminCommand( { setParameter: 1, rangeDeleterBatchSize: 100 } )
3284+
db.adminCommand( { setParameter: 1, rangeDeleterBatchSize: 32 } )
32863285

32873286
.. parameter:: skipShardingConfigurationChecks
32883287

0 commit comments

Comments
 (0)