@@ -98,7 +98,7 @@ Authentication Parameters
9898 <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html>`__ or `AWS IAM environment variables
9999 <https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html#envvars-list>`__.
100100
101- Maximim number of AWS IAM authentication retries after a connection
101+ Maximum number of AWS IAM authentication retries after a connection
102102 failure.
103103
104104 The following example sets :parameter:`awsSTSRetryCount` to ``15``
@@ -4717,6 +4717,47 @@ Sharding Parameters
47174717 only applied to range deletions created after the value is changed. To
47184718 apply the new value to existing range deletions, :ref:`force a step down <rs.stepDown-behavior>`.
47194719
4720+ .. parameter:: persistedChunkCacheUpdateMaxBatchSize
4721+
4722+ .. versionadded:: 7.0.4
4723+
4724+ |mongod-only|
4725+
4726+ Type: Integer
4727+
4728+ Default: 1000
4729+
4730+ To route and serve operations, shards must know the routing and
4731+ ownership information associated with their collections. This
4732+ information propogates from a shard's primary node to its
4733+ secondary nodes through the replication of the internal cache
4734+ collections ``config.cache.collections`` and
4735+ ``config.cache.chunks.<collectionName>``.
4736+
4737+ In previous versions, updates on the chunk cache collection were
4738+ performed individually (meaning that an entry was deleted and a new
4739+ entry was inserted). Starting in MongoDB 7.0.4, these updates are
4740+ performed as a batch of deletions followed by a batch of insertions.
4741+ The updated logic improves performance for collections that contain a
4742+ large number of chunks.
4743+
4744+ The ``persistedChunkCacheUpdateMaxBatchSize`` parameter specifies the
4745+ maximum batch size used for updating the persisted chunk cache.
4746+
4747+ The following example sets ``persistedChunkCacheUpdateMaxBatchSize``
4748+ to 700 at startup:
4749+
4750+ .. code-block:: bash
4751+
4752+ mongod --setParameter persistedChunkCacheUpdateMaxBatchSize=700
4753+
4754+ You can also set ``persistedChunkCacheUpdateMaxBatchSize`` during
4755+ runtime:
4756+
4757+ .. code-block:: javascript
4758+
4759+ db.adminCommand( { setParameter: 1, persistedChunkCacheUpdateMaxBatchSize: 700 } )
4760+
47204761.. parameter:: rangeDeleterBatchDelayMS
47214762
47224763 |mongod-only|
0 commit comments