@@ -102,7 +102,7 @@ Authentication Parameters
102
102
<https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html>`__ or `AWS IAM environment variables
103
103
<https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html#envvars-list>`__.
104
104
105
- Maximim number of AWS IAM authentication retries after a connection
105
+ Maximum number of AWS IAM authentication retries after a connection
106
106
failure.
107
107
108
108
The following example sets :parameter:`awsSTSRetryCount` to ``15``
@@ -4233,6 +4233,47 @@ Sharding Parameters
4233
4233
4234
4234
db.adminCommand( { setParameter: 1, orphanCleanupDelaySecs: 1200 } )
4235
4235
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
+
4236
4277
.. parameter:: rangeDeleterBatchDelayMS
4237
4278
4238
4279
|mongod-only|
0 commit comments