Skip to content

Conversation

Mytherin
Copy link
Contributor

@Mytherin Mytherin commented Jul 3, 2025

This PR refactors the S3 multi part upload code into a separate class from the S3FileHandle. It is kept alive separately and performs the Put/Post requests separately from the S3FileHandle. This greatly simplifies reasoning about lifetimes as we are no longer launching background threads that are dependent on external state (the file handle) being kept alive. This likely fixes some edge case issues around writes in particular when dealing with exceptions.

This shouldn't change behavior - but given this is a relatively sizeable refactor I would not include this for the v1.3.2 release.

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.

1 participant