Skip to content

Fix closed stream failure when retrying small file uploads#563

Merged
olzhasar-reef merged 1 commit intomasterfrom
stream-upload-retries
Feb 28, 2026
Merged

Fix closed stream failure when retrying small file uploads#563
olzhasar-reef merged 1 commit intomasterfrom
stream-upload-retries

Conversation

@olzhasar-reef
Copy link
Collaborator

Move the file opening and subsequent wrapping in UploadManager._upload_small_file
outside of the retry loop to prevent failures when trying to open an
already closed UnboundSourceBytes object

Move the file opening and subsequent wrapping in UploadManager._upload_small_file
outside of the retry loop to prevent failures when trying to open an
already closed UnboundSourceBytes object
@olzhasar-reef olzhasar-reef merged commit 18890c0 into master Feb 28, 2026
46 of 48 checks passed
@olzhasar-reef olzhasar-reef deleted the stream-upload-retries branch February 28, 2026 12:33
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