forked from cockroachdb/pebble
-
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.
db: misc LazyValue tweaks, for testing, and simpler Clone invariant
- Fix metamorphic test to actually test value blocks. - Do buffer mangling when retrieving from valueBlockReader to ensure callers are not relying on excessive memory stability. - Relax the invariant of LazyValue.Clone to allow cloning even if the value has been fetched. Informs cockroachdb#1170 Epic: CRDB-20378
- Loading branch information
1 parent
ba57511
commit a60e75c
Showing
3 changed files
with
57 additions
and
32 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