@@ -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``
@@ -4757,6 +4757,47 @@ Sharding Parameters
4757
4757
only applied to range deletions created after the value is changed. To
4758
4758
apply the new value to existing range deletions, :ref:`force a step down <rs.stepDown-behavior>`.
4759
4759
4760
+ .. parameter:: persistedChunkCacheUpdateMaxBatchSize
4761
+
4762
+ .. versionadded:: 7.1.1 (and 7.0.4)
4763
+
4764
+ |mongod-only|
4765
+
4766
+ Type: Integer
4767
+
4768
+ Default: 1000
4769
+
4770
+ To route and serve operations, shards must know the routing and
4771
+ ownership information associated with their collections. This
4772
+ information propogates from a shard's primary node to its
4773
+ secondary nodes through the replication of the internal cache
4774
+ collections ``config.cache.collections`` and
4775
+ ``config.cache.chunks.<collectionName>``.
4776
+
4777
+ In previous versions, updates on the chunk cache collection were
4778
+ performed individually (meaning that an entry was deleted and a new
4779
+ entry was inserted). Starting in MongoDB 7.1.1, these updates are
4780
+ performed as a batch of deletions followed by a batch of insertions.
4781
+ The updated logic improves performance for collections that contain a
4782
+ large number of chunks.
4783
+
4784
+ The ``persistedChunkCacheUpdateMaxBatchSize`` parameter specifies the
4785
+ maximum batch size used for updating the persisted chunk cache.
4786
+
4787
+ The following example sets ``persistedChunkCacheUpdateMaxBatchSize``
4788
+ to 700 at startup:
4789
+
4790
+ .. code-block:: bash
4791
+
4792
+ mongod --setParameter persistedChunkCacheUpdateMaxBatchSize=700
4793
+
4794
+ You can also set ``persistedChunkCacheUpdateMaxBatchSize`` during
4795
+ runtime:
4796
+
4797
+ .. code-block:: javascript
4798
+
4799
+ db.adminCommand( { setParameter: 1, persistedChunkCacheUpdateMaxBatchSize: 700 } )
4800
+
4760
4801
.. parameter:: rangeDeleterBatchDelayMS
4761
4802
4762
4803
|mongod-only|
0 commit comments