Skip to content

Commit d3ce9f5

Browse files
kennethdyerKenneth P. J. Dyer
andauthored
Docs 16242 Abort Expired Transaction Metrics (#4653)
* DOCS-16242 abortExpiredTransactions serverStatus * Adds example * Minor edit * Fixes per Joe --------- Co-authored-by: Kenneth P. J. Dyer <[email protected]>
1 parent ef7ac1a commit d3ce9f5

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
@@ -1553,6 +1553,9 @@ metrics
15531553
.. code-block:: javascript
15541554

15551555
metrics : {
1556+
abortExpiredTransactions: {
1557+
passes: <integer>
1558+
},
15561559
apiVersions: {
15571560
<appName1>: <string>,
15581561
<appName2>: <string>,
@@ -1802,6 +1805,19 @@ metrics
18021805
A document that returns various statistics that reflect the current
18031806
use and state of a running :binary:`~bin.mongod` instance.
18041807

1808+
.. serverstatus:: metrics.abortExpiredTransactions
1809+
1810+
Document that returns statistics on the current state of the
1811+
``abortExpiredTransactions`` thread.
1812+
1813+
.. serverstatus:: metrics.abortExpiredTransactions.passes
1814+
1815+
Indicates the number of successful passes aborting transactions
1816+
older than the :parameter:`transactionLifetimeLimitSeconds` parameter.
1817+
1818+
If the ``passes`` value stops incrementing, it indicates that the
1819+
``abortExpiredTransactions`` thread may be stuck.
1820+
18051821
.. serverstatus:: metrics.aggStageCounters
18061822

18071823
A document that reports on the use of

0 commit comments

Comments
 (0)