Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Segment Manifest builder #533

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jeqo
Copy link
Contributor

@jeqo jeqo commented Apr 8, 2024

Follow up from #531

Clean-up Segment Manifest instantiations with a new Builder.

jeqo added 2 commits April 5, 2024 19:42
RSM upload steps are messy and hard to read, mainly because of the encryption metadata.
By moving the instantiation to the data key and aad, we can separate the upload stages clearly.
Given that there are at least 3 objects uploaded per segment, and it could fail at any stage, the plugin should guard that the chances for orphan objects is minimal.
@jeqo jeqo force-pushed the jeqo/segment-manifest-builder branch 2 times, most recently from 69a091f to d1259b0 Compare April 8, 2024 08:44
Bunch of optional fields can be passed via builder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant