File tree Expand file tree Collapse file tree 3 files changed +20
-3
lines changed
Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 1+ Starting in MongoDB 5.0, if you change the
2+ :parameter: `transactionLifetimeLimitSeconds ` parameter, you must also
3+ change :parameter: `transactionLifetimeLimitSeconds ` to the same value on
4+ all config server replica set members. Keeping this value consistent:
5+
6+ - Ensures the routing table history is retained for at least as long as
7+ the transaction lifetime limit on the shard replica set members.
8+
9+ - Reduces the transaction retry frequency and therefore improves
10+ performance.
Original file line number Diff line number Diff line change @@ -4110,11 +4110,11 @@ Transaction Parameters
41104110 *Default*: 60
41114111
41124112 Specifies the lifetime of :doc:`multi-document transactions
4113- </core/transactions>`. Transactions that exceeds this limit are
4113+ </core/transactions>`. Transactions that exceed this limit are
41144114 considered expired and will be aborted by a periodic cleanup
41154115 process. The cleanup process runs every
41164116 :parameter:`transactionLifetimeLimitSeconds`/2 seconds or at least
4117- once per every 60 seconds.
4117+ once every 60 seconds.
41184118
41194119 The cleanup process helps relieve storage cache pressure.
41204120
@@ -4138,7 +4138,9 @@ Transaction Parameters
41384138
41394139 To set the parameter for a sharded cluster, the parameter must be
41404140 modified for all shard replica set members.
4141-
4141+
4142+ .. include:: /includes/transactionLifetimeLimitSeconds-parameter.rst
4143+
41424144.. parameter:: maxTransactionLockRequestTimeoutMillis
41434145
41444146 .. versionadded:: 4.0
Original file line number Diff line number Diff line change @@ -337,6 +337,11 @@ If ``auditLog.runtimeConfiguration`` is set to ``false`` and an audit
337337filter config document is present, then a startup warning will be
338338issued but the server will not abort.
339339
340+ Reduce Risk of Stale Chunks in Sharded Transactions
341+ ---------------------------------------------------
342+
343+ .. include:: /includes/transactionLifetimeLimitSeconds-parameter.rst
344+
340345General Changes
341346---------------
342347
You can’t perform that action at this time.
0 commit comments