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

The TransactionCoordinatorService should validate the incoming transaction number and session id

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2018-10-08, Sharding 2018-10-22

      Description

      The TransactionCoordinatorService should validate the incoming transaction number and session id against the latest transaction for the session. The logic should be as follows:

      • If there exists a latest transaction for this session:
        • If txnNumber is the same as the latest on the session:
          • uassert that the coordinator has not yet received any votes or coordinateCommit
        • If txnNumber is higher than the latest on the session:
          • Call "tryAbort" on the latest coordinator for the session

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              matthew.saltz Matthew Saltz
              Reporter:
              matthew.saltz Matthew Saltz
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: