Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes issue with failure handling and recovery in ReplicatedTransacti…
…onSM There was an issue with RTSM in combination with SessionTrackingState persistence, where a crash in between updating the session tracker and committing the tx in the logical log could lead to failure to actually commit the tx on recovery. This issue is now replicated in tests and fixed. The fix involves separating out the verification and update functionalities of GlobalSessionTrackerState, in order to invert the order of updating session state and committing in the logical log. This commit also takes the opportunity to make sure that GlobalSessionTrackerState persistence is idempotent with respect to raft log entry replays.
- Loading branch information
1 parent
c8cccc7
commit a9d245c
Showing
10 changed files
with
518 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.