-
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 dry-run for gc-compaction, add statistics (#…
…8557) Add dry-run mode that does not produce any image layer + delta layer. I will use this code to do some experiments and see how much space we can reclaim for tenants on staging. Part of #8002 * Add dry-run mode that runs the full compaction process without updating the layer map. (We never call finish on the writers and the files will be removed before exiting the function). * Add compaction statistics and print them at the end of compaction. --------- Signed-off-by: Alex Chi Z <[email protected]>
- Loading branch information
Showing
4 changed files
with
204 additions
and
12 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
Oops, something went wrong.
8f3bc5a
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.
2196 tests run: 2115 passed, 0 failed, 81 skipped (full report)
Flaky tests (3)
Postgres 16
test_scrubber_physical_gc_timeline_deletion
: debugPostgres 15
test_subscriber_restart
: releasePostgres 14
test_partial_evict_tenant[relative_equal]
: releaseCode coverage* (full report)
functions
:33.0% (7173 of 21743 functions)
lines
:50.6% (57920 of 114391 lines)
* collected from Rust tests only
8f3bc5a at 2024-08-06T04:03:59.292Z :recycle: