-
Notifications
You must be signed in to change notification settings - Fork 442
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pageserver: reduce size of delta layer ValueRef (#8401)
## Problem ValueRef is an unnecessarily large structure, because it carries a cursor. L0 compaction currently instantiates gigabytes of these under some circumstances. ## Summary of changes - Carry a ref to the parent layer instead of a cursor, and construct a cursor on demand. This reduces RSS high watermark during L0 compaction by about 20%.
- Loading branch information
Showing
1 changed file
with
13 additions
and
9 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
4a90423
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.
3201 tests run: 3068 passed, 0 failed, 133 skipped (full report)
Flaky tests (2)
Postgres 14
test_location_conf_churn[3]
: releasetest_subscriber_restart
: releaseCode coverage* (full report)
functions
:32.7% (6985 of 21380 functions)
lines
:50.1% (55035 of 109932 lines)
* collected from Rust tests only
4a90423 at 2024-07-16T22:07:31.022Z :recycle: