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

Add Support for retries when using Azure Blob Storage #1253

Merged
merged 4 commits into from
Jun 20, 2019

Conversation

wbh1
Copy link
Contributor

@wbh1 wbh1 commented Jun 13, 2019

Closes #1252

Changelog entry:

  • #1253 Add support for specifying a maximum amount of retries when using Azure Blob storage (default: no retries).

Changes

  • Add field to Azure configuration to allow for specifying "maxretries".

  • This retry value is used when creating a pipeline (most operations do this for things like stat'ing the bucket) and when downloading the bucket's context.

(Note: the Azure library does not currently support retries for uploads or for deletions).

Verification

All tests pass. Verified query, store, bucket inspect, bucket ls commands all work.

Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

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

Perfect! Tiny nit only. Thanks!

Also the CHANGELOG entry should be in CHANGELOG.md file. Can you add it there in #Added section?

pkg/objstore/azure/azure.go Outdated Show resolved Hide resolved
@wbh1
Copy link
Contributor Author

wbh1 commented Jun 19, 2019

@bwplotka -- is there anything else you guys need from me in order to merge this?

@bwplotka
Copy link
Member

No, looks perfect. Let's rebase and I will merge (: Sorry for delay.

@wbh1
Copy link
Contributor Author

wbh1 commented Jun 20, 2019

I think I rebased it correctly... Only my second time having to do a rebase though, so let me know if I messed anything up 😛

Thanks, Bartek! 😄

@bwplotka bwplotka merged commit 38a9da0 into thanos-io:master Jun 20, 2019
@wbh1 wbh1 deleted the azure-retries branch June 20, 2019 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bucket/tooling: add support for retries in Azure Blob storage
3 participants