-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Diagnostics, Replication
-
Fully Compatible
-
v4.0
-
Repl 2018-07-02
We want to output the total number of committed and aborted transactions in the "transactions" serverStatus section by utilizing the existing metrics tracked in the totalCommitted and totalAborted fields of ServerTransactionsMetrics. We need to add totalCommitted and totalAborted fields to the transactions_stats.idl class, so that we can serialize these counters to the serverStatus output object in the TransactionsSSS::generateSection method. The TransactionsSSS::generateSection method returns a BSON object that goes into the transactions section of the serverStatus output.
- depends on
-
SERVER-35147 Track total number of committed and aborted transactions in ServerTransactionsMetrics
- Closed
- is depended on by
-
SERVER-35793 Write concurrency test to verify server-wide transactions metrics tracking
- Closed