Remove stmtId from internal session id for retryable internal transactions

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding 2021-10-18
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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). 

            Assignee:
            Jonathan Lee
            Reporter:
            Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: