-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pageserver: assert that uploads don't modify indexed layers (#10228)
## Problem It's not legal to modify layers that are referenced by the current layer index. Assert this in the upload queue, as preparation for upload queue reordering. Touches #10096. ## Summary of changes Add a debug assertion that the upload queue does not modify layers referenced by the current index. I could be convinced that this should be a plain assertion, but will be conservative for now.
- Loading branch information
1 parent
1393cc6
commit a77e87a
Showing
2 changed files
with
54 additions
and
6 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
a77e87a
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.
7377 tests run: 7014 passed, 1 failed, 362 skipped (full report)
Failures on Postgres 16
test_storage_controller_many_tenants[github-actions-selfhosted]
: release-x86-64Flaky tests (2)
Postgres 17
test_deletion_queue_recovery[validate-keep]
: release-x86-64Postgres 16
test_physical_replication_config_mismatch_too_many_known_xids
: release-arm64Code coverage* (full report)
functions
:31.2% (8410 of 26948 functions)
lines
:48.0% (66777 of 139204 lines)
* collected from Rust tests only
a77e87a at 2025-01-03T18:32:41.609Z :recycle: