@@ -2601,11 +2601,11 @@ If you attempt to update ``disableSplitHorizonIPCheck`` at runtime,
2601
2601
parallel. Values can range from 1 to 256 inclusive. However, the
2602
2602
maximum number of threads used is capped at twice the number of
2603
2603
available cores.
2604
-
2604
+
2605
2605
You can only set :parameter:`replWriterThreadCount` at startup and
2606
2606
cannot change this setting with the :dbcommand:`setParameter`
2607
2607
command.
2608
-
2608
+
2609
2609
.. seealso::
2610
2610
2611
2611
:parameter:`replWriterMinThreadCount`
@@ -4376,6 +4376,76 @@ Storage Parameters
4376
4376
- :parameter:`journalCommitInterval`
4377
4377
- :setting:`storage.syncPeriodSecs`
4378
4378
4379
+ .. parameter:: temporarilyUnavailableBackoffBaseMs
4380
+
4381
+ |mongod-only|
4382
+
4383
+ Specifies the initial delay before retying a write operation that was
4384
+ rolled back due to cache pressure.
4385
+
4386
+ .. include:: /includes/reference/fact-parameters-cache-pressure.rst
4387
+
4388
+ The parameter accepts:
4389
+
4390
+ .. list-table::
4391
+ :header-rows: 1
4392
+ :widths: 20 80
4393
+
4394
+ * - Value
4395
+ - Description
4396
+
4397
+ * - ``integer >= 0``
4398
+
4399
+ - Defaults to 1 second. The initial delay between retries. The
4400
+ value increases with each retry to a maximum of 55 seconds. A
4401
+ larger value increases the chance that the cache pressure
4402
+ will be reduced before the next retry.
4403
+
4404
+ To configure number of retires, use
4405
+ :parameter:`temporarilyUnavailableMaxRetries`.
4406
+
4407
+ To set a new value, use :method:`db.adminCommand()`:
4408
+
4409
+ .. code-block:: javascript
4410
+
4411
+ db.adminCommand( { setParameter: 1, temporarilyUnavailableBackoffBaseMs: 3 } )
4412
+
4413
+ *Available starting in MongoDB 6.1.0*
4414
+
4415
+ .. parameter:: temporarilyUnavailableMaxRetries
4416
+
4417
+ |mongod-only|
4418
+
4419
+ Specifies the maximum number of retries when a write operation is
4420
+ rolled back due to cache pressure.
4421
+
4422
+ .. include:: /includes/reference/fact-parameters-cache-pressure.rst
4423
+
4424
+ The parameter accepts:
4425
+
4426
+ .. list-table::
4427
+ :header-rows: 1
4428
+ :widths: 20 80
4429
+
4430
+ * - Value
4431
+ - Description
4432
+
4433
+ * - ``integer >= 0``
4434
+
4435
+ - Defaults to 10. The maximum number of retries.
4436
+
4437
+ There is an increasing delay between retries. To configure
4438
+ the backoff time, use
4439
+ :parameter:`temporarilyUnavailableBackoffBaseMs`.
4440
+
4441
+ To set a new value, use :method:`db.adminCommand()`:
4442
+
4443
+ .. code-block:: javascript
4444
+
4445
+ db.adminCommand( { setParameter: 1, temporarilyUnavailableMaxRetries: 5 } )
4446
+
4447
+ *Available starting in MongoDB 6.1.0*
4448
+
4379
4449
WiredTiger Parameters
4380
4450
~~~~~~~~~~~~~~~~~~~~~
4381
4451
0 commit comments