-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Remove handcrafted TenantConf deserialization code. Use `serde_path_to_error` to include the field which failed parsing. Leaves the duplicated TenantConf in pageserver and models, does not touch PageserverConf handcrafted deserialization. Error change: - before change: "configure option `checkpoint_distance` cannot be negative" - after change: "`checkpoint_distance`: invalid value: integer `-1`, expected u64" Fixes: #5300 Cc: #3682 --------- Signed-off-by: Rahul Modpur <[email protected]> Co-authored-by: Shany Pozin <[email protected]> Co-authored-by: Joonas Koivunen <[email protected]>
- Loading branch information
1 parent
fc77c42
commit 50d959f
Showing
7 changed files
with
101 additions
and
212 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
50d959f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2474 tests run: 2371 passed, 0 failed, 103 skipped (full report)
Flaky tests (6)
Postgres 16
test_ondemand_download_timetravel[real_s3]
: debugtest_ondemand_download_timetravel[local_fs]
: debugtest_ondemand_download_timetravel[mock_s3]
: debugPostgres 15
test_cannot_branch_from_non_uploaded_branch
: debugtest_ondemand_download_timetravel[real_s3]
: debugtest_restarts_frequent_checkpoints
: releaseCode coverage (full report)
functions
:54.5% (9224 of 16923 functions)
lines
:82.1% (53495 of 65120 lines)
50d959f at 2023-11-30T12:31:22.391Z :recycle: