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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: