Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

s3put exits successfully when multipart uploads fail #1373

Open
aroben opened this Issue · 0 comments

1 participant

@aroben

If a multipart upload fails (e.g., due to lacking the s3:ListBucketMultipartUploads permission), s3put still exits successfully. It shows errors like:

Failed uploading part #3
Failed uploading part #4
Failed uploading part #1
Failed uploading part #2
Failed uploading part #5

But then exits with a return code of 0.

It looks like s3put's use of multiprocessing ignores any exceptions thrown by workers. I think Pool.map might be a better pattern to use than apply_async + join.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.