Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-35300

Track total transaction duration in TxnStats

    • Fully Compatible
    • v4.0
    • Repl 2018-06-18, Repl 2018-07-02

      We want to track total transaction duration in TxnStats. To do this, we can add a TxnStats::startTime field. When a transaction begins, we will save the start time of the transaction. This will allow us to compute the total elapsed time of the transaction as (now() - startTime), when the transaction commits or aborts.

            Assignee:
            jinny.byun Jinny Byun
            Reporter:
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: