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

Add timeActiveMicros and timeInactiveMicros to transaction sub-document of currentOp

    • 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.

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

              Created:
              Updated:
              Resolved: