[Retryability] Enforce txnNumber ordering in a session in the presence of retryable internal transactions

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Sharding 2021-12-27, Sharding 2022-01-10, Sharding 2022-01-24
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Make TransactionParticipant throw a TransactionTooOld error in the following cases:

      • We try to begin/continue/retry a retryable internal transaction with lsid=(id, uid, txnUUID, 5) after running retryable writes or a transaction with lsid=(id, uid) and txnNumber=6.
      • We try to begin/continue/retry retryable writes or begin/continue a transaction with lsid=(id, uid) and txnNumber=5 after running a retryable internal transaction with lsid=(id, uid, txnUUID, 6).

            Assignee:
            Cheahuychou Mao
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: