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

Disable idempotent option when block is passed to get_object #183

Merged
merged 1 commit into from Sep 16, 2015
Merged

Disable idempotent option when block is passed to get_object #183

merged 1 commit into from Sep 16, 2015

Conversation

ghost
Copy link

@ghost ghost commented Sep 16, 2015

The idempotent option can be problematic when calling get_object with a streaming block since Excon automatically retries the entire request from the beginning when something goes wrong, without making it clear that it's doing so. This can result in lots of issues, including data corruption. In order to prevent this, I'd like to propose that we disable the idempotent option whenever a streaming block is provided to get_object.

Original Issue: #181

@lanej
Copy link
Member

lanej commented Sep 16, 2015

@geemus this seems correct given the conversation in #181

@tdg5
Copy link
Contributor

tdg5 commented Sep 16, 2015

Looks good to me

@geemus
Copy link
Member

geemus commented Sep 16, 2015

Looks good, thanks!

geemus added a commit that referenced this pull request Sep 16, 2015
…treaming

Disable idempotent option when block is passed to get_object
@geemus geemus merged commit 7a02ca2 into fog:master Sep 16, 2015
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.

3 participants