-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change cleans up the design of `SuffixReplaceableBlockCollector`: instead of having a separate optional interface, we fold this functionality in the `BlockPropertyCollector` and `DataBlockIntervalCollector` interfaces. This makes things much easier to follow. Note that the old design was especially problematic for `DataBlockIntervalCollector`: we were passing the encoded properties to the implementation but the encoding of intervals into properties is implemented by Pebble. This works only because the Cockroach implementation (`pebbleDataBlockMVCCTimeIntervalCollector`) does not need to look at the old properties at all.
- Loading branch information
1 parent
278b6a6
commit 6cdb88d
Showing
7 changed files
with
178 additions
and
71 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
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.