Skip to content

Commit a5c1076

Browse files
authored
Docs 16242 Abort Expired Transaction Metrics (#4653) (#10545)
* DOCS-16242 abortExpiredTransactions serverStatus
1 parent 68267c6 commit a5c1076

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

source/reference/command/serverStatus.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,6 +1477,9 @@ metrics
14771477
.. code-block:: javascript
14781478

14791479
metrics : {
1480+
abortExpiredTransactions: {
1481+
passes: <integer>
1482+
},
14801483
apiVersions: {
14811484
<appName1>: <string>,
14821485
<appName2>: <string>,
@@ -1724,6 +1727,19 @@ metrics
17241727
A document that returns various statistics that reflect the current
17251728
use and state of a running :binary:`~bin.mongod` instance.
17261729

1730+
.. serverstatus:: metrics.abortExpiredTransactions
1731+
1732+
Document that returns statistics on the current state of the
1733+
``abortExpiredTransactions`` thread.
1734+
1735+
.. serverstatus:: metrics.abortExpiredTransactions.passes
1736+
1737+
Indicates the number of successful passes aborting transactions
1738+
older than the :parameter:`transactionLifetimeLimitSeconds` parameter.
1739+
1740+
If the ``passes`` value stops incrementing, it indicates that the
1741+
``abortExpiredTransactions`` thread may be stuck.
1742+
17271743
.. serverstatus:: metrics.aggStageCounters
17281744

17291745
A document that reports on the use of

0 commit comments

Comments
 (0)