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

Compact: update "accept malformed index" flag to apply to downsampling #5690

Merged
merged 2 commits into from
Sep 15, 2022
Merged

Conversation

mtlang
Copy link
Contributor

@mtlang mtlang commented Sep 14, 2022

Signed-off-by: Marshall Lang mt.lang72@gmail.com

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

  • When the "--debug.accept-malformed-index" flag is specified, Index verification results will be ignored when downsampling blocks.

Verification

I ran a compactor using the "debug.accept-malformed-index" flag against prometheus block data affected by this prometheus issue. Using the latest Thanos release, the compactor would succeed (with warnings) compacting, but then crash upon downsampling. After updating the flag, downsampling will also succeed with warnings.

Signed-off-by: Marshall Lang <mt.lang72@gmail.com>
Signed-off-by: Marshall Lang <mt.lang72@gmail.com>
Copy link
Contributor

@yeya24 yeya24 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!

Copy link
Collaborator

@matej-g matej-g left a comment

Choose a reason for hiding this comment

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

This actually resolves #5497, looks good, thank you!

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.

Thanks!

@bwplotka
Copy link
Member

Rerunning e2e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants