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

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

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Repl 2018-08-13

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: