Skip to content

update thanos to include skip out of order chunks in compactor #4423

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

Closed
wants to merge 0 commits into from

Conversation

huyan0
Copy link

@huyan0 huyan0 commented Aug 16, 2021

Signed-off-by: Yang Hu [email protected]

What this PR does:
Updates Thanos dependency to mark a corrupted block with out-of-order chunks for no compaction.
Thanos PR: thanos-io/thanos#4469, thanos-io/thanos#4566

Which issue(s) this PR fixes:
Fixes #3569

Checklist

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

cc: @roystchiang @alvinlin123 @pracucci

@huyan0 huyan0 marked this pull request as ready for review August 18, 2021 14:45
Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

I think this change doesn't work with the bucket index. The no-compact markers are not part neither of the global markers location (used by Cortex) and the bucket-index. I think the required steps to add support for this feature is:

  • Add no-compact marker support to global location (see BucketWithGlobalMarkers)
  • Add no-compact marker support to bucket-index (see pkg/storage/tsdb/bucketindex)

Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

Also this PR upgrades Thanos too. We typically suggest to have a preliminary PR to upgrade Thanos only (so we can focus the review on it) and then having a PR to integrate new features. In the "Thanos upgrade PR" you can keep the "skip blocks with out of order chunks" disabled.

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