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

Add archival_config endpoint to pageserver #8414

Merged
merged 3 commits into from
Jul 19, 2024
Merged

Add archival_config endpoint to pageserver #8414

merged 3 commits into from
Jul 19, 2024

Conversation

arpad-m
Copy link
Member

@arpad-m arpad-m commented Jul 17, 2024

This adds an archival_config endpoint to the pageserver. Currently it has no effect, and always "works", but later the intent is that it will make a timeline archived/unarchived.

  • add yml spec
  • add endpoint handler

Part of #8088

Copy link

github-actions bot commented Jul 17, 2024

3126 tests run: 3005 passed, 0 failed, 121 skipped (full report)


Code coverage* (full report)

  • functions: 32.6% (6996 of 21428 functions)
  • lines: 50.1% (55248 of 110174 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
f4a592b at 2024-07-19T16:52:06.217Z :recycle:

@arpad-m arpad-m marked this pull request as ready for review July 19, 2024 14:39
@arpad-m arpad-m requested a review from a team as a code owner July 19, 2024 14:39
@arpad-m arpad-m requested a review from jcsp July 19, 2024 14:39
@arpad-m arpad-m merged commit 3d582b2 into main Jul 19, 2024
65 checks passed
@arpad-m arpad-m deleted the arpad/tl-archive-1 branch July 19, 2024 19:02
Either archives or unarchives the given timeline.
An archived timeline may not have any non-archived children.
requestBody:
required: false
Copy link
Collaborator

Choose a reason for hiding this comment

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

required: false - what would it mean to omit the body?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is from an earlier iteration where I made the param part of the url string. You are right, it is obligatory.

problame pushed a commit that referenced this pull request Jul 22, 2024
This adds an archival_config endpoint to the pageserver. Currently it
has no effect, and always "works", but later the intent is that it will
make a timeline archived/unarchived.

- [x] add yml spec
- [x] add endpoint handler

Part of #8088
arpad-m added a commit that referenced this pull request Jul 22, 2024
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.

4 participants