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

The TransactionCoordinatorService should validate the incoming transaction number and session id

    • Fully Compatible
    • Sharding 2018-10-08, Sharding 2018-10-22

      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

            Assignee:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Reporter:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: