You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c16db28
Browse filesBrowse the repository at this point in the historyBrowse files
fix: Fix FileDownloader and directory transfer failure paths (#3434)
Follow-up PR to #3407.
Fixes `download_file` leaving truncated file at the destination when a
part fails with a non-StandardError, `download_file` leaving a stray
temp file behind when a caller-provided executor rejects a part
mid-download, and `upload_directory`/`download_directory` hanging
forever when listing files or objects fails with a non-StandardError
(such as from a `:filter_callback`).
---
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
1. To make sure we include your contribution in the release notes,
please make sure to add description entry for your changes in the
"unreleased changes" section of the `CHANGELOG.md` file (at
corresponding gem). For the description entry, please make sure it lives
in one line and starts with `Feature` or `Issue` in the correct format.
2. For generated code changes, please checkout below instructions first:
https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
Thank you for your contribution!
Copy file name to clipboardExpand all lines: gems/aws-sdk-s3/CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
Unreleased Changes
2
2
------------------
3
3
4
+
* Issue - Fix `download_file` on `TransferManager` and `Aws::S3::Object` leaving a corrupt file at the destination when a part raises a non-`StandardError`, and leaving a temp file behind when a caller-provided executor rejects a part.
5
+
6
+
* Issue - Prevent `upload_directory` and `download_directory` on `TransferManager` from hanging when listing files or objects raises a non-`StandardError`, such as from a `:filter_callback`.
0 commit comments