-
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 the currentOp entry for both active and inactive transactions to contain an entry with a transaction.parameters sub document that contains the timeOpenMicros of the transaction. This field measures how long the transaction has been open. We should be able to get this real time value from the SingleTransactionStats object 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