-
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.
[DNM] storage: add checking around reuse of pebbleMVCCScanner.keyBuf
The logic is hard to reason about. There are call paths like seekVersion -> advanceKeyAtNewKey -> prevKey that overwrite what is in the keyBuf (though probably harmless since it is overwriting keyBuf with itself). Release note: None
- Loading branch information
1 parent
c9215c2
commit 2e5bae5
Showing
2 changed files
with
50 additions
and
7 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