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