Skip to content

Conversation

jeqo
Copy link
Contributor

@jeqo jeqo commented Apr 4, 2024

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.

Be aware, the first commit includes a set of refactoring around RSM upload operations to cleanup and simplify the testing of the 2nd (main) commit. See commit messages for more details.

@jeqo jeqo force-pushed the jeqo/delete-orphan-files branch 2 times, most recently from 3d52a4e to c532ed6 Compare April 4, 2024 12:15
@jeqo jeqo marked this pull request as ready for review April 4, 2024 12:32
@jeqo jeqo requested a review from a team as a code owner April 4, 2024 12:32
jeqo added 2 commits April 18, 2024 10:22
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/delete-orphan-files branch from cdffc7f to b732512 Compare April 18, 2024 07:22
@jeqo jeqo requested a review from ivanyu April 18, 2024 07:35
@jeqo jeqo requested a review from biggusdonzus August 7, 2024 17:43
@jeqo
Copy link
Contributor Author

jeqo commented Aug 8, 2024

Closing this as it has got too old. Will create a fresh PR, soon

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.

2 participants