Skip to content
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

fix(pageserver): make delta split layer writer finish atomic #9048

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

skyzh
Copy link
Member

@skyzh skyzh commented Sep 18, 2024

Problem

similar to #8841, we make the delta layer writer atomic when finishing the layers.

Summary of changes

  • put_value not taking discard fn anymore
  • finish decides what layers to keep

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.
  • Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
  • If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

  • Do not forget to reformat commit message to not include the above checklist

Copy link

github-actions bot commented Sep 18, 2024

5281 tests run: 5067 passed, 0 failed, 214 skipped (full report)


Flaky tests (2)

Postgres 17

Code coverage* (full report)

  • functions: 31.4% (7653 of 24388 functions)
  • lines: 48.9% (60198 of 123134 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
b4ae4c4 at 2024-10-22T22:17:10.210Z :recycle:

@skyzh skyzh mentioned this pull request Sep 23, 2024
17 tasks
@skyzh skyzh force-pushed the skyzh/split-layer-atomic branch 3 times, most recently from 69d1203 to ab762ea Compare October 18, 2024 21:29
Base automatically changed from skyzh/split-layer-atomic to main October 21, 2024 14:59
@skyzh skyzh force-pushed the skyzh/split-layer-atomic-delta branch from 1378e85 to f567318 Compare October 21, 2024 16:39
@skyzh skyzh force-pushed the skyzh/split-layer-atomic-delta branch from f567318 to dfb1031 Compare October 21, 2024 16:42
Signed-off-by: Alex Chi Z <[email protected]>
@skyzh skyzh requested a review from arpad-m October 21, 2024 16:42
@skyzh skyzh marked this pull request as ready for review October 21, 2024 16:43
@skyzh skyzh requested a review from a team as a code owner October 21, 2024 16:43
@skyzh skyzh enabled auto-merge (squash) October 22, 2024 14:56
@skyzh skyzh merged commit 64949a3 into main Oct 22, 2024
81 checks passed
@skyzh skyzh deleted the skyzh/split-layer-atomic-delta branch October 22, 2024 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants