Repository navigation
Support persistent split for s3 upload - #10
Merged
Merged
Conversation
SmaGMan
force-pushed
the
feature/s3-split-persistent
branch
from
August 12, 2026 11:18
48d4af4 to
0fdbc92
Compare
SmaGMan
force-pushed
the
feature/s3-split-persistent
branch
from
August 20, 2026 09:59
0fdbc92 to
c9a07ca
Compare
SmaGMan
marked this pull request as ready for review
August 20, 2026 10:01
SmaGMan
force-pushed
the
feature/s3-split-persistent
branch
from
September 7, 2026 15:39
8b1958b to
13912b9
Compare
Rexagon
approved these changes
Sep 10, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linked with broxus/tycho#1122
COMPATIBILITY
Special logic applied
The uploader supports publishing splitted persistent state bundles. It uploads parts first, then metadata, and finally the main object, so readers never observe a partial bundle as ready.
Without activated
persistent_state_split_depththe uploader will store a single-file state without metadata.Existing split bundles are validated before reuse. Missing or zero-sized objects are resumed; malformed metadata, incompatible metadata, wrong object sizes, and conflicting legacy representations are rejected.
SPECIAL DEPLOYMENT ACTIONS
[Required]
Deploy updated Tycho readers before deploying this uploader. The new uploader can publish metadata and declared state files that older readers do not recognize.
The uploader uses the Tycho
feature/s3-split-persistentdependency graph. The requiredtycho-typesandtycho-vmpatches remain in the indexers root because Cargo does not inherit patches through dependencies.Dependencies should be updated to a tagged versions before merging the PR.
TESTS
Unit Tests
[Covered by:]
split_plan_handles_missing_incomplete_complete_and_duplicate_statessplit_conflicts_with_legacy_or_invalid_manifestsingle_file_rejects_manifest_and_uploads_missing_or_zero_mainwrong_sizes_and_manifest_metadata_are_conflictsManual Tests
Described in broxus/tycho#1122