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

Add transaction expiry time to transaction sub-document of currentOp output

    • Fully Compatible
    • Repl 2018-08-13

      We want the currentOp entry for both active and inactive transactions to contain the expiry time of the transaction. This is the time at which the transaction, if still running, will be aborted due to a timeout. This expiration time is already stored in the Session::_transactionExpireDate variable, so we should be able to retrieve it from there. We want to store this value in the transaction.expiry field of the currentOp entry.

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

              Created:
              Updated:
              Resolved: