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

Track information about last client to run a transaction operation on session

    • Fully Compatible
    • v4.0
    • Repl 2018-07-30

      To support the currentOp output for inactive transactions, we want to keep track of information about the last client to run an operation against a particular session. Normally, a single operation in currentOp (not a transaction) is only associated with a single client. For sessions (and transactions), though, it is possible that different clients run operations against a single session. Often, all operations will be run by the same client, and so it would be helpful to store this information on the session, so we can report it in currentOp. The information we hope to store about the last client is connectionId, client, appName, and clientMetadata.

            jinny.byun Jinny Byun
            william.schultz@mongodb.com William Schultz
            0 Vote for this issue
            5 Start watching this issue