-
Notifications
You must be signed in to change notification settings - Fork 707
Download SLRU segments on demand #6151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2376 tests run: 2263 passed, 0 failed, 113 skipped (full report)Flaky tests (10)Postgres 16Postgres 15
Postgres 14Code coverage (full report)
The comment gets automatically updated with the latest test results
4e0f67a at 2024-01-31T18:59:01.514Z :recycle: |
daa8847
to
d958870
Compare
Open questions:
|
bde5da5
to
fbbf134
Compare
I used the following script to generate a lot of transactions and tuple versions (with different xmins):
Size of pg_xact directory is 25Mb.
So it seems to be fast enough, although subsequent execution takes just 0.666 ms. |
Many tests are failed in this PR because of two reasons:
|
e476e3c
to
a5daf3a
Compare
ba1b96a
to
de822ea
Compare
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.
The patch to postgres can be made a little smaller, if you remove the new 'SlruCtlData.kind' field. You can pass the path to smgr_read_slru_segment() instead, and have the extension figure out which SLRU the path corresponds to.
It is already merged. |
98c3ce8
to
de7a71a
Compare
Done |
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.
Left some comments on the postgres parts at neondatabase/postgres#331 (review)
d79abb4
to
f4a1c9f
Compare
Co-authored-by: Heikki Linnakangas <[email protected]>
2670eaf
to
6ae587e
Compare
Co-authored-by: Heikki Linnakangas <[email protected]>
To be able to merge this PR I also need correspondent Postgres PR's too be approved and merged: |
Problem
See https://github.com/neondatabase/cloud/issues/8673
Summary of changes
Download missed SLRU segments from page server
Checklist before requesting a review
Checklist before merging