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

Warn on basebackups for archived timelines #10688

Merged
merged 2 commits into from
Feb 6, 2025
Merged

Conversation

arpad-m
Copy link
Member

@arpad-m arpad-m commented Feb 5, 2025

We don't want any external requests for an archived timeline. This includes basebackup requests, i.e. when a compute is being started up.

Therefore, we'd like to forbid such basebackup requests: any attempt to get a basebackup on an archived timeline (or any getpage request really) is a cplane bug. Make this a warning for now so that, if there is potentially a bug, we can detect cases in the wild before they cause stuck operations, but the intention is to return an error eventually.

Related: #9548

@arpad-m arpad-m requested a review from a team as a code owner February 5, 2025 20:27
@arpad-m arpad-m requested review from problame and VladLazar February 5, 2025 20:27
Copy link

github-actions bot commented Feb 5, 2025

7425 tests run: 7072 passed, 0 failed, 353 skipped (full report)


Code coverage* (full report)

  • functions: 33.2% (8577 of 25805 functions)
  • lines: 49.1% (72134 of 147055 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
2296003 at 2025-02-05T21:35:32.414Z :recycle:

@arpad-m arpad-m added this pull request to the merge queue Feb 6, 2025
Merged via the queue into main with commit b66fbd6 Feb 6, 2025
88 checks passed
@arpad-m arpad-m deleted the arpad/archived_error branch February 6, 2025 10:16
knizhnik pushed a commit that referenced this pull request Feb 10, 2025
We don't want any external requests for an archived timeline. This
includes basebackup requests, i.e. when a compute is being started up.

Therefore, we'd like to forbid such basebackup requests: any attempt to
get a basebackup on an archived timeline (or any getpage request really)
is a cplane bug. Make this a warning for now so that, if there is
potentially a bug, we can detect cases in the wild before they cause
stuck operations, but the intention is to return an error eventually.

Related: #9548
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