-
Notifications
You must be signed in to change notification settings - Fork 478
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pageserver: safety checks on validity of uploaded indices (#10403)
## Problem Occasionally, we encounter bugs in test environments that can be detected at the point of uploading an index, but we proceed to upload it anyway and leave a tenant in a broken state that's awkward to handle. ## Summary of changes - Validate index when submitting it for upload, so that we can see the issue quickly e.g. in an API invoking compaction - Validate index before executing the upload, so that we have a hard enforcement that any code path that tries to upload an index will not overwrite a valid index with an invalid one.
- Loading branch information
Showing
5 changed files
with
91 additions
and
10 deletions.
There are no files selected for viewing
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
8bdaee3
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.
7499 tests run: 7111 passed, 1 failed, 387 skipped (full report)
Failures on Postgres 16
test_ingest_logical_message[github-actions-selfhosted-nofsync-131072]
: release-x86-64Flaky tests (6)
Postgres 17
test_metrics_normal_work
: debug-x86-64test_timeline_archive[4]
: release-arm64Postgres 16
test_metrics_normal_work
: release-arm64Postgres 15
test_location_conf_churn[2]
: release-x86-64test_location_conf_churn[1]
: release-arm64test_metrics_normal_work
: release-x86-64Code coverage* (full report)
functions
:33.6% (8436 of 25093 functions)
lines
:49.1% (70615 of 143736 lines)
* collected from Rust tests only
8bdaee3 at 2025-01-20T11:47:29.347Z :recycle: