Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage_scrubber: don't report half-created timelines as corruption (#…
…10198) ## Problem test_timeline_archival_chaos does timeline creation with failure injection, and thereby sometimes leaves timelines in a part created state. This was being reported as corruption by the scrubber on test teardown, because it considered a layer without an index to be an invalid state. This was incorrect: the scrubber should accept this state, it occurs legitimately during timeline creation. Closes: #9988 ## Summary of changes - Report a timeline with layers but no index as Relic rather than MissingIndexPart. - We retain the MissingIndexPart variant for the case where an index _was_ found in the listing, but was not found by a subsequent GET, i.e. racing with deletion.
- Loading branch information
afda6d4
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.
7245 tests run: 6936 passed, 1 failed, 308 skipped (full report)
Failures on Postgres 16
test_storage_controller_many_tenants[github-actions-selfhosted]
: release-x86-64Code coverage* (full report)
functions
:31.3% (8399 of 26870 functions)
lines
:48.0% (66656 of 138946 lines)
* collected from Rust tests only
afda6d4 at 2024-12-19T15:16:59.574Z :recycle: