-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Diagnostics, Replication
-
Fully Compatible
-
v4.0
-
Repl 2018-06-18
We want to track the total number of transactions started since the last server startup. To do this, we should add a totalStarted counter field to ServerTransactionsMetrics that tracks this metric. We will increment this counter every time a new multi-document transaction starts. Additionally, we will need to add a totalStarted field to the transactions_stats.idl class, so that we can serialize this counter to the serverStatus output object.
- depends on
-
SERVER-35129 Create a ServerTransactionsMetrics class and store it as a decoration on the ServiceContext
- Closed
- is depended on by
-
SERVER-35292 Add total number of started transactions to serverStatus
- Closed