Skip to content

Commit 8ba96a7

Browse files
authored
Docs 16242 Abort Expired Transaction Metrics (#4653) (#10544)
* DOCS-16242 abortExpiredTransactions serverStatus
1 parent 6dc164b commit 8ba96a7

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
@@ -1581,6 +1581,9 @@ metrics
15811581
.. code-block:: javascript
15821582

15831583
metrics : {
1584+
abortExpiredTransactions: {
1585+
passes: <integer>
1586+
},
15841587
apiVersions: {
15851588
<appName1>: <string>,
15861589
<appName2>: <string>,
@@ -1839,6 +1842,19 @@ metrics
18391842
A document that returns various statistics that reflect the current
18401843
use and state of a running :binary:`~bin.mongod` instance.
18411844

1845+
.. serverstatus:: metrics.abortExpiredTransactions
1846+
1847+
Document that returns statistics on the current state of the
1848+
``abortExpiredTransactions`` thread.
1849+
1850+
.. serverstatus:: metrics.abortExpiredTransactions.passes
1851+
1852+
Indicates the number of successful passes aborting transactions
1853+
older than the :parameter:`transactionLifetimeLimitSeconds` parameter.
1854+
1855+
If the ``passes`` value stops incrementing, it indicates that the
1856+
``abortExpiredTransactions`` thread may be stuck.
1857+
18421858
.. serverstatus:: metrics.aggStageCounters
18431859

18441860
A document that reports on the use of

0 commit comments

Comments
 (0)