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 @@ -3261,28 +3261,27 @@ Sharding Parameters
3261
3261
3262
3262
Type: Non-negative integer
3263
3263
3264
- Default: 0
3264
+ Default: 128
3265
3265
3266
3266
The maximum number of documents in each batch to delete during the
3267
3267
cleanup stage of :ref:`chunk migration <chunk-migration-procedure>`
3268
3268
(or the :dbcommand:`cleanupOrphaned` command).
3269
3269
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.
3272
3271
3273
- The following sets the :parameter:`rangeDeleterBatchSize` to 100
3272
+ The following example sets :parameter:`rangeDeleterBatchSize` to 32
3274
3273
documents:
3275
3274
3276
3275
.. code-block:: sh
3277
3276
3278
- mongod --setParameter rangeDeleterBatchSize=100
3277
+ mongod --setParameter rangeDeleterBatchSize=32
3279
3278
3280
3279
The parameter may also be set using the :dbcommand:`setParameter`
3281
3280
command:
3282
3281
3283
3282
.. code-block:: javascript
3284
3283
3285
- db.adminCommand( { setParameter: 1, rangeDeleterBatchSize: 100 } )
3284
+ db.adminCommand( { setParameter: 1, rangeDeleterBatchSize: 32 } )
3286
3285
3287
3286
.. parameter:: skipShardingConfigurationChecks
3288
3287
You can’t perform that action at this time.
0 commit comments