forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
39084: libroach: fix infinite loop in reverse `MVCCScan()` r=ajkr a=ajkr It happened when multiple versions of a key existed as the smallest key in the reverse-scanned range, and a certain number of those versions were newer than the scan timestamp. See test case for full root-cause details. Fixes cockroachdb#38788. Release note (bug fix): Fixed a potential infinite loop in queries involving reverse scans. Co-authored-by: Andrew Kryczka <[email protected]>
- Loading branch information
Showing
2 changed files
with
62 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