Skip to content

Fix upload stall error introduced with S3 throttle #299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

dschneller
Copy link
Contributor

A break statement was accidentally unindented one level
too far, introducing a bug when looking for multipart
upload ids. Sorry for that :)
It led to multipart chunks being missed and the overall
upload never finishing. Throw an error in case the multipart
upload is not found on S3 anymore, for example due to
manual aborts with the AWS CLI tool.
In these cases the backup could hang forever, too.

Also: Increase the number of callbacks for throttling,
because on very fast connections the previous block
size of 2MB was to coarse.

A `break` statement was accidentally unindented one level
too far, introducing a bug when looking for multipart
upload ids. That led to multipart chunks being missed
and the overall upload never finishing.

Also: Increase the number of callbacks for throttling,
because on very fast connections the previous block
size of 2MB was to coarse.
Copy link
Contributor

@timvaillancourt timvaillancourt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @dschneller

@timvaillancourt timvaillancourt merged commit 2f3b651 into Percona-Lab:master Dec 13, 2018
@dschneller dschneller deleted the fix-s3-upload-stall branch December 17, 2018 14:11
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