-
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 number of active and inactive transactions in the "transactions" serverStatus section by utilizing the existing metrics tracked in the currentActive and currentInactive fields of MultiDocumentTransactionStats. If they do not already exist, we need to add currentActive and currentInactive fields to the transactions_stats.idl class, so that we can serialize these counters to the serverStatus output object in the TransactionsSSS::generateSection method. We also need to make sure that the ServerTransactionsMetrics::updateStats updates the appropriate fields on the TransactionsStats object.
- depends on
-
SERVER-35151 Track total number of active and inactive transactions in ServerTransactionsMetrics
- Closed