File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -3271,28 +3271,27 @@ Sharding Parameters
3271
3271
3272
3272
Type: Non-negative integer
3273
3273
3274
- Default: 0
3274
+ Default: 128
3275
3275
3276
3276
The maximum number of documents in each batch to delete during the
3277
3277
cleanup stage of :ref:`chunk migration <chunk-migration-procedure>`
3278
3278
(or the :dbcommand:`cleanupOrphaned` command).
3279
3279
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.
3282
3281
3283
- The following sets the :parameter:`rangeDeleterBatchSize` to 100
3282
+ The following example sets :parameter:`rangeDeleterBatchSize` to 32
3284
3283
documents:
3285
3284
3286
3285
.. code-block:: sh
3287
3286
3288
- mongod --setParameter rangeDeleterBatchSize=100
3287
+ mongod --setParameter rangeDeleterBatchSize=32
3289
3288
3290
3289
The parameter may also be set using the :dbcommand:`setParameter`
3291
3290
command:
3292
3291
3293
3292
.. code-block:: javascript
3294
3293
3295
- db.adminCommand( { setParameter: 1, rangeDeleterBatchSize: 100 } )
3294
+ db.adminCommand( { setParameter: 1, rangeDeleterBatchSize: 32 } )
3296
3295
3297
3296
.. parameter:: skipShardingConfigurationChecks
3298
3297
You can’t perform that action at this time.
0 commit comments