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 #5689

Closed
wants to merge 7 commits into from
Closed

Conversation

mtlang
Copy link
Contributor

@mtlang mtlang commented Sep 14, 2022

  • 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.

mtlang and others added 6 commits September 14, 2022 11:41
* Adding new parameter for more dynamic horizontal query sharding

Signed-off-by: Pedro Tanaka <[email protected]>

* Update docs for query FE

Signed-off-by: Pedro Tanaka <[email protected]>

* Adding new parameters and testing validation

Signed-off-by: Pedro Tanaka <[email protected]>

* Using new parameters instead of changing behavior for existing ones

Signed-off-by: Pedro Tanaka <[email protected]>

* Adding changelog entry for changes

Signed-off-by: Pedro Tanaka <[email protected]>

* Fixing problem on config validation and adding more test cases

Signed-off-by: Pedro Tanaka <[email protected]>

* Fixing linting

Signed-off-by: Pedro Tanaka <[email protected]>

* Change name of cli arguments and improve validation

Signed-off-by: Pedro Tanaka <[email protected]>

* Fixing changelog entry

Signed-off-by: Pedro Tanaka <[email protected]>

* Final touches on docs

Signed-off-by: Pedro Tanaka <[email protected]>

* Adding params names to changelog

Signed-off-by: Pedro Tanaka <[email protected]>

* Fixing CR comments

Signed-off-by: Pedro Tanaka <[email protected]>

* Adding additional check for minimal split interval

Signed-off-by: Pedro Tanaka <[email protected]>

Signed-off-by: Pedro Tanaka <[email protected]>
Signed-off-by: Marshall Lang <[email protected]>
Signed-off-by: Marshall Lang <[email protected]>
@mtlang mtlang closed this Sep 14, 2022
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.

2 participants