Skip to content
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

Multipart upload causes panic: runtime error: slice bounds out of range #37

Closed
kuenishi opened this issue Oct 14, 2014 · 3 comments
Closed

Comments

@kuenishi
Copy link

We have been experiencing deterministic failure on multipart upload against Riak CS. We are not sure how to fix this as don't have solid golang experience, and just reporting it here. See [1] for complete stack trace, and [2] for what we are doing in detail. Also it seems that the commit 7138fa9 [3] introduced this issue, as we don't see this issue against v0.4.3 but later than [3].

We found a workaround increasing partsize by one byte, to -s 5242881 to avoid this issue, hope it helps.

@rlmcpherson
Copy link
Owner

Thanks for the detailed bug report. I've reproduced the issue, still working on a fix.

rlmcpherson added a commit that referenced this issue Oct 14, 2014
@rlmcpherson
Copy link
Owner

This is resolved on master now and there is now a test for this scenario. The buffer size was not being reset in the correct place. Could you try testing and update if the issue persists in your tests?

@kuenishi
Copy link
Author

I updated the s3gof3r and re-tested, and it was fixed! The issue has gone. Thank you very much for such quick fix.

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

No branches or pull requests

2 participants