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