-
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.
kvnemesis: properly skip validation for rolled-back locking reads in …
…weak-isolation transactions Previously, #126417 attempted to skip validation for rolled-back locking reads that tolerate write skew. However, it depended on the validator's `observeLocking` filter in `checkAtomicCommitted` to detect if a read tolerates write skew. However, that filter is set correctly only while processing ops. This patch adds a field to `observedRead` to indicate that the read should be skipped from validation if rolled back by a savepoint. The flag is set in `processOp` and used later in `checkAtomicCommitted`. Fixes: #128373 Release note: None
- Loading branch information
1 parent
760c57d
commit 029ba16
Showing
1 changed file
with
28 additions
and
14 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