-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Diagnostics, Replication
-
Fully Compatible
-
v4.0
-
Repl 2018-07-16
We want the currentOp entry for both active and inactive transactions to contain an entry with a transaction.parameters sub document that contains the timeActiveMicros and timeInactiveMicros of the transaction. We should be able to retrieve these real time values by using the SingleTransactionStats::timeActive and SingleTransactionStats::startTime fields stored on the session.
- depends on
-
SERVER-35173 Add autocommit value to transaction sub-document of currentOp
- Closed
-
SERVER-35300 Track total transaction duration in TxnStats
- Closed
-
SERVER-35308 Track total active time of transaction in SingleTransactionStats
- Closed