-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
db: support virtual sstables in block checksum validation
Supports validation of virtual sstable block checksums during ingestion. It was easier to deduplicate the virtual sstables by file backing to ensure that the checksums for each file are only validated once. We could also implement a VirtualReader.ValidateVirtual function which only validates blocks which fall within virtual sstable bounds, but that seems like too much work for a feature which is off by default and was never turned on. This pr also prepares us for #2885. The metamorphic test might set `ValidateOnIngest` to true in which case we'll hit a panic.
- Loading branch information
1 parent
1d8ff0b
commit d038189
Showing
3 changed files
with
35 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
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