Skip to content

Commit d0bd299

Browse files
jason-price-mongodbjason-price-mongodb
authored andcommitted
DOCS-15876-remove-chunkMigrationConcurrency (#2702)
Co-authored-by: jason-price-mongodb <[email protected]>
1 parent cfaf65f commit d0bd299

File tree

2 files changed

+0
-54
lines changed

2 files changed

+0
-54
lines changed

source/reference/command/serverStatus.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4222,7 +4222,6 @@ shardingStatistics
42224222
"countDocsDeletedOnDonor" : NumberLong(<num>),
42234223
"countDonorMoveChunkLockTimeout" : NumberLong(<num>),
42244224
"unfinishedMigrationFromPreviousPrimary" : NumberLong(<num>),
4225-
"chunkMigrationConcurrency” : NumberLong(<num>),
42264225
"catalogCache" : {
42274226
"numDatabaseEntries" : NumberLong(<num>),
42284227
"numCollectionEntries" : NumberLong(<num>),
@@ -4447,16 +4446,6 @@ shardingStatistics
44474446

44484447
.. versionadded:: 4.4
44494448

4450-
.. serverstatus:: shardingStatistics.chunkMigrationConcurrency
4451-
4452-
The number of threads on the source shard and the receiving shard for
4453-
performing :ref:`chunk migration <migrate-chunks-sharded-cluster>`
4454-
operations.
4455-
4456-
*Only present when run on a shard.*
4457-
4458-
*Available starting in MongoDB 6.0.5 (and 5.0.15).*
4459-
44604449
.. serverstatus:: shardingStatistics.catalogCache
44614450

44624451
A document with statistics about the cluster's routing information cache.

source/reference/parameters.txt

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -3014,49 +3014,6 @@ Sharding Parameters
30143014

30153015
db.adminCommand( { setParameter: 1, chunkDefragmentationThrottlingMS: 10 } )
30163016

3017-
.. parameter:: chunkMigrationConcurrency
3018-
3019-
*Available starting in MongoDB 6.0.5 (and 5.0.15).*
3020-
3021-
*Type*: integer
3022-
3023-
*Default*: 1
3024-
3025-
|both|
3026-
3027-
Specifies an integer that sets the number of threads on the source
3028-
shard and the receiving shard for :ref:`chunk migration
3029-
<migrate-chunks-sharded-cluster>`.
3030-
3031-
Increasing the concurrency improves chunk migration performance, but
3032-
also increases the workload and disk IOPS usage on the the source
3033-
shard and the receiving shard.
3034-
3035-
Maximum value is 500.
3036-
3037-
You should typically use half the total number of CPU cores as
3038-
threads. For example, if the total is 16 cores, set
3039-
``chunkMigrationConcurrency`` to 8 threads (or fewer).
3040-
3041-
If ``chunkMigrationConcurrency`` is greater than ``1``, the
3042-
``_secondaryThrottle`` configuration setting is ignored. The
3043-
``_secondaryThrottle`` setting determines when the chunk migration
3044-
proceeds with the next document in the chunk. For details, see
3045-
:ref:`chunk-migration-replication`.
3046-
3047-
The following example sets ``chunkMigrationConcurrency`` to ``5``:
3048-
3049-
.. code-block:: bash
3050-
3051-
mongod --setParameter chunkMigrationConcurrency=5
3052-
3053-
During runtime, you can also set the parameter with the
3054-
:dbcommand:`setParameter` command:
3055-
3056-
.. code-block:: javascript
3057-
3058-
db.adminCommand( { setParameter: 1, chunkMigrationConcurrency: 5 } )
3059-
30603017
.. parameter:: disableResumableRangeDeleter
30613018

30623019
.. versionadded:: 4.4

0 commit comments

Comments
 (0)