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

[txnRetryCounter] Add TxnRetryCounterTooOld to the list of VoteAbort errors

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding 2021-10-04
    • 3

      SERVER-58752 introduced the ability to retry an aborted prepared (on a subset of participant shards) transaction by retrying the transaction with a higher txnRetryCounter (internal client only). As a follow-up, make TxnRetryCounterTooOld a VoteAbort error and test that if a transaction coordinator resends abortTransaction to a transaction participant that has aborted and restarted the transaction with a higher txnRetryCounter, the TxnRetryCounterTooOld error that the participant returns will be considered as a VoteAbort error.

            Assignee:
            jonathan.lee@mongodb.com Jonathan Lee
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: