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

Make persistParticipantsList convert TransactionCoordinatorReachedAbortDecision to NoSuchTransaction

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0, 4.4.2
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
    • Fully Compatible
    • v4.4
    • Sharding 2020-10-05, Sharding 2020-10-19
    • 40

      Currently,  persistParticipantsList never converts the exception thrown, "ErrorCodes::TransactionCoordinatorReachedAbortDecision", when the two phase commit deadline exceeds the time limit, causing the invariant to be hit.

      Instead, if the transaction times out while the persisting the participants, persistParticipantsList should convert the exception to be NoSuchTransaction - similar to what sendPrepareToShard does.

            Assignee:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Reporter:
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: