Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
28798: release-2.0: storage/engine: invalidate cached iterator state when necessary r=benesch a=petermattis Backport 1/1 commits from #28794. /cc @cockroachdb/release --- `Iterator.{MVCCGet,MVCCScan,FindSplitKey,ComputeStats}` need to invalidate the cached iterator state. They were previously failing to do so which could lead to rare scenarios where a key could be considered present in the database which had never been written. Fixes #28025 Release note (bug fix): Fix rare scenario where the value written for one system key was seen when another system key was read leading to the violation of internal invariants. Co-authored-by: Peter Mattis <petermattis@gmail.com>
- Loading branch information
Showing
2 changed files
with
76 additions
and
0 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