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

Remove stmtId from internal session id for retryable internal transactions

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding 2021-10-18
    • 2

    Description

      Per the latest version of the design, retryable internal transactions will run in internal sessions with lsid of the form (id, uid, txnNumber, txnUUID) as supposed to (id, uid, txnNumber, stmtId). So we should:

      • Remove stmtId from the InternalSessionFields struct.
      • Make getParentSessionId only check for txnUUID.
      • Update unittests and jstests that use lsids of the form (id, uid, txnNumber, stmtId). 

      Attachments

        Activity

          People

            jonathan.lee@mongodb.com Jonathan Lee
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: