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

Add autocommit value to transaction sub-document of currentOp

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v4.0
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: