-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
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
- If txnNumber is the same as the latest on the session:
- depends on
-
SERVER-37022 TransactionCoordinator should have an additional state for when it has not yet received any event
- Closed