-
Notifications
You must be signed in to change notification settings - Fork 460
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disallow archived timelines to be detached or reparented (#9578)
Disallow a request for timeline ancestor detach if either the to be detached timeline, or any of the to be reparented timelines are offloaded or archived. In theory we could support timelines that are archived but not offloaded, but archived timelines are at the risk of being offloaded, so we treat them like offloaded timelines. As for offloaded timelines, any code to "support" them would amount to unoffloading them, at which point we can just demand to have the timelines be unarchived. Part of #8088
- Loading branch information
Showing
2 changed files
with
78 additions
and
4 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
d0a02f3
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.
5416 tests run: 5184 passed, 0 failed, 232 skipped (full report)
Flaky tests (4)
Postgres 17
test_cancellations
: debug-x86-64test_sharding_ingest_gaps
: debug-x86-64test_storage_controller_node_deletion[True]
: debug-x86-64Postgres 16
test_timeline_archive[4]
: release-arm64Code coverage* (full report)
functions
:31.4% (7749 of 24667 functions)
lines
:48.9% (60912 of 124451 lines)
* collected from Rust tests only
d0a02f3 at 2024-10-30T17:29:33.139Z :recycle: