-
Notifications
You must be signed in to change notification settings - Fork 473
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 keys belong to shard (#9943)
We've seen cases where stray keys end up on the wrong shard. This shouldn't happen. Add debug assertions to prevent this. In release builds, we should be lenient in order to handle changing key ownership policies. Touches #9914.
- Loading branch information
1 parent
3f1c542
commit 7838659
Showing
4 changed files
with
38 additions
and
8 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
7838659
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.
7166 tests run: 6847 passed, 0 failed, 319 skipped (full report)
Flaky tests (4)
Postgres 17
test_timeline_archival_chaos
: release-arm64Postgres 14
test_pageserver_gc_compaction_smoke
: release-x86-64test_prefetch[4]
: release-x86-64test_pull_timeline[True]
: release-x86-64Code coverage* (full report)
functions
:31.4% (8327 of 26507 functions)
lines
:47.8% (65501 of 137095 lines)
* collected from Rust tests only
7838659 at 2024-12-06T12:06:48.822Z :recycle: