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

pageserver: clean up DeletionQueue push_layers_sync #10701

Merged
merged 3 commits into from
Feb 7, 2025

Conversation

jcsp
Copy link
Collaborator

@jcsp jcsp commented Feb 6, 2025

Problem

This is tech debt. While we introduced generations for tenants, some legacy situations without generations needed to delete things inline (async operation) instead of enqueing them (sync operation).

Summary of changes

  • Remove the async code, replace calls with the sync variant, and assert that the generation is always set

@jcsp jcsp requested a review from erikgrinaker February 6, 2025 16:24
@jcsp jcsp marked this pull request as ready for review February 6, 2025 16:24
@jcsp jcsp requested a review from a team as a code owner February 6, 2025 16:24
Copy link
Contributor

@erikgrinaker erikgrinaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚮

Copy link

github-actions bot commented Feb 6, 2025

7425 tests run: 7066 passed, 0 failed, 359 skipped (full report)


Flaky tests (1)

Postgres 15

Code coverage* (full report)

  • functions: 33.2% (8585 of 25821 functions)
  • lines: 49.1% (72294 of 147224 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
2d57171 at 2025-02-07T11:07:42.021Z :recycle:

@jcsp jcsp force-pushed the jcsp/deletion-queue-cleanup branch from efac944 to 2d57171 Compare February 7, 2025 10:03
@jcsp jcsp enabled auto-merge February 7, 2025 12:31
@jcsp jcsp added this pull request to the merge queue Feb 7, 2025
Merged via the queue into main with commit 08f92bb Feb 7, 2025
96 checks passed
@jcsp jcsp deleted the jcsp/deletion-queue-cleanup branch February 7, 2025 13:09
knizhnik pushed a commit that referenced this pull request Feb 10, 2025
## Problem

This is tech debt. While we introduced generations for tenants, some
legacy situations without generations needed to delete things inline
(async operation) instead of enqueing them (sync operation).

## Summary of changes

- Remove the async code, replace calls with the sync variant, and assert
that the generation is always set
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