-
Notifications
You must be signed in to change notification settings - Fork 451
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sstable: clean up TestRewriteSuffixProps, fix subtle bug
This commit cleans up the TestRewriteSuffixProps unit test, refactoring it to use the testkey comparator and new block-property collectors that are functions of the testkey integer suffix. It also fixes a bug where if the suffix rewriting WriterOptions contained fewer block property collectors than the original sstable had when it was written, suffix rewriting could fail to decode all the relevant properties from a block handle.
- Loading branch information
Showing
5 changed files
with
192 additions
and
104 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
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
Oops, something went wrong.