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

refactor: move NodeMetadata to pageserver_api; use it from neon_local #7606

Merged
merged 7 commits into from
May 3, 2024

Conversation

problame
Copy link
Contributor

@problame problame commented May 3, 2024

This is the first step towards representing all of Pageserver configuration as clean serde::Serializeable Rust structs in pageserver_api.

The neon_local code will then use those structs instead of the crude toml_edit / string concatenation that it does today.

refs #7555

@problame problame requested a review from a team as a code owner May 3, 2024 12:37
@problame problame requested review from skyzh and jcsp and removed request for skyzh May 3, 2024 12:37
@jcsp
Copy link
Contributor

jcsp commented May 3, 2024

Can you write a PR description please? The linked issue doesn't make it obvious why NodeMetadata would be related to compaction

Copy link

github-actions bot commented May 3, 2024

2904 tests run: 2783 passed, 0 failed, 121 skipped (full report)


Flaky tests (1)

Postgres 15

Code coverage* (full report)

  • functions: 31.4% (6228 of 19838 functions)
  • lines: 47.2% (46691 of 99024 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
f8ebebe at 2024-05-03T17:21:03.143Z :recycle:

@skyzh skyzh merged commit 1e7cd6a into main May 3, 2024
53 checks passed
@skyzh skyzh deleted the problame/move-pageserver-config-into-api-crate branch May 3, 2024 17:15
conradludgate pushed a commit that referenced this pull request May 8, 2024
…local` (#7606)

This is the first step towards representing all of Pageserver
configuration as clean `serde::Serialize`able Rust structs in
`pageserver_api`.

The `neon_local` code will then use those structs instead of the crude
`toml_edit` / string concatenation that it does today.

refs #7555

---------

Co-authored-by: Alex Chi Z <iskyzh@gmail.com>
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.

None yet

4 participants