-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Diagnostics, Replication
-
Fully Compatible
-
v4.0
-
Repl 2018-07-02, Repl 2018-07-16
We want to output the total number of open transactions in the "transactions" serverStatus section by utilizing the existing metrics tracked in ServerTransactionsMetrics::currentOpen. We need to add a currentOpen field to the transactions_stats.idl class, so that we can serialize the counter 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-35149 Track total number of open transactions in ServerTransactionsMetrics
- Closed
- is depended on by
-
SERVER-35793 Write concurrency test to verify server-wide transactions metrics tracking
- Closed