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

Upgrade Thanos to fix panic in store-gateway when index-header lazy loading is enabled #3775

Conversation

pracucci
Copy link
Contributor

@pracucci pracucci commented Feb 2, 2021

What this PR does:
I've fixed a race condition in Thanos thanos-io/thanos#3760 which was leading to a panic when index-header lazy loading is enabled.

In this PR I'm upgrading Thanos to bring in the fix, as well as mapping the new config options supported by Thanos' S3 client. The default values of new S3 config options are the same values used before (previously hard-coded defaults in S3 client and Golang HTTP transport).

Which issue(s) this PR fixes:
N/A

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

…oading is enabled

Signed-off-by: Marco Pracucci <marco@pracucci.com>
Copy link
Contributor

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jtlisi jtlisi left a comment

Choose a reason for hiding this comment

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

LGTM

@pracucci pracucci merged commit 3df3149 into cortexproject:master Feb 2, 2021
@pracucci pracucci deleted the upgrade-thanos-to-fix-lazy-index-header-panic branch February 2, 2021 16:18
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