Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10444

Docs for SERVER-29852: Store logical session id and transaction number on the OperationContext

    XMLWordPrintableJSON

Details

    Description

      Documentation Request Summary:

      With this change, all commands on the server now support two new parameters:

      • lsid - Logical session id under which the command is executing
      • txnNumber - The number of the transaction under the logical session as part of which the command is executing. The transaction number must be a non-negative 'long' value, which is incremented for each subsequent command.

      Engineering Ticket Description:

      The lsid and txnNumber fields will become legitimate top-level values for all commands. As such, there should be code just after command parsing, but before authentication (so the sessionId is available to the auth system), which extracts these fields and sets them on the OperationContext.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 10 weeks, 6 days ago