@@ -102,7 +102,7 @@ Authentication Parameters
102102 <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html>`__ or `AWS IAM environment variables
103103 <https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html#envvars-list>`__.
104104
105- Maximim number of AWS IAM authentication retries after a connection
105+ Maximum number of AWS IAM authentication retries after a connection
106106 failure.
107107
108108 The following example sets :parameter:`awsSTSRetryCount` to ``15``
@@ -4233,6 +4233,47 @@ Sharding Parameters
42334233
42344234 db.adminCommand( { setParameter: 1, orphanCleanupDelaySecs: 1200 } )
42354235
4236+ .. parameter:: persistedChunkCacheUpdateMaxBatchSize
4237+
4238+ .. versionadded:: 6.0.13 (and 5.0.25)
4239+
4240+ |mongod-only|
4241+
4242+ Type: Integer
4243+
4244+ Default: 1000
4245+
4246+ To route and serve operations, shards must know the routing and
4247+ ownership information associated with their collections. This
4248+ information propogates from a shard's primary node to its
4249+ secondary nodes through the replication of the internal cache
4250+ collections ``config.cache.collections`` and
4251+ ``config.cache.chunks.<collectionName>``.
4252+
4253+ In previous versions, updates on the chunk cache collection were
4254+ performed individually (meaning that an entry was deleted and a new
4255+ entry was inserted). Starting in MongoDB 7.1.1, these updates are
4256+ performed as a batch of deletions followed by a batch of insertions.
4257+ The updated logic improves performance for collections that contain a
4258+ large number of chunks.
4259+
4260+ The ``persistedChunkCacheUpdateMaxBatchSize`` parameter specifies the
4261+ maximum batch size used for updating the persisted chunk cache.
4262+
4263+ The following example sets ``persistedChunkCacheUpdateMaxBatchSize``
4264+ to 700 at startup:
4265+
4266+ .. code-block:: bash
4267+
4268+ mongod --setParameter persistedChunkCacheUpdateMaxBatchSize=700
4269+
4270+ You can also set ``persistedChunkCacheUpdateMaxBatchSize`` during
4271+ runtime:
4272+
4273+ .. code-block:: javascript
4274+
4275+ db.adminCommand( { setParameter: 1, persistedChunkCacheUpdateMaxBatchSize: 700 } )
4276+
42364277.. parameter:: rangeDeleterBatchDelayMS
42374278
42384279 |mongod-only|
0 commit comments