-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kv: auto-step read sequence on savepoint rollback
Fixes #121752. Fixes #121748. This commit fixes the txnSeqNumAllocator to conditionally (based on the stepping mode) auto-step the transaction's read sequence number to the write sequence number on savepoint rollbacks. The commit also adds in an assertion into the txnSeqNumAllocator that the current read sequence is never part of a batch's ignored sequence number list. This helps us detect the cases that were leading to assertion errors in #121752 much faster. Release note: None
- Loading branch information
1 parent
b8b598c
commit 4847089
Showing
3 changed files
with
25 additions
and
6 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