-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pageserver): support btm-gc-compaction for child branches (#8519)
part of #8002 For child branches, we will pull the image of the modified keys from the parant into the child branch, which creates a full history for generating key retention. If there are not enough delta keys, the image won't be wrote eventually, and we will only keep the deltas inside the child branch. We could avoid the wasteful work to pull the image from the parent if we can know the number of deltas in advance, in the future (currently we always pull image for all modified keys in the child branch) --------- Signed-off-by: Alex Chi Z <[email protected]>
- Loading branch information
Showing
3 changed files
with
400 additions
and
35 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
Oops, something went wrong.
61a65f6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2100 tests run: 2033 passed, 0 failed, 67 skipped (full report)
Flaky tests (2)
Postgres 15
test_subscriber_restart
: releasePostgres 14
test_subscriber_restart
: releaseCode coverage* (full report)
functions
:32.5% (7036 of 21641 functions)
lines
:50.0% (56264 of 112421 lines)
* collected from Rust tests only
61a65f6 at 2024-07-31T15:41:39.475Z :recycle: