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

Make persistParticipantsList convert TransactionCoordinatorReachedAbortDecision to NoSuchTransaction

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0, 4.4.2
    • Component/s: Sharding
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      Sharding 2020-10-05, Sharding 2020-10-19
    • Linked BF Score:
      40

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            andrew.shuvalov Andrew Shuvalov
            Reporter:
            haley.connelly Haley Connelly
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: