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

Add autocommit value to transaction sub-document of currentOp

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0
    • Sprint:
      Repl 2018-06-18, Repl 2018-07-02, Repl 2018-07-16

      Description

      We want the currentOp entry for both active and inactive transactions to contain an entry with a transaction.parameters sub document that contains the autocommit parameter for that transaction.

      For active transactions, we want to make sure that the CurOp::reportCurrentOpForClient method attaches this information to the appropriate sub-document, and for inactive transactions, we want to make sure that the Session::reportStashedState method also attaches it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jinny.byun Jinny Byun
              Reporter:
              william.schultz William Schultz
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: