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

Use pre-calculated hashes #5817

Merged
merged 1 commit into from
Oct 25, 2022
Merged

Conversation

fpetkovski
Copy link
Contributor

@fpetkovski fpetkovski commented Oct 25, 2022

Thanos stores can now calculate chunk hashes and send them as part of the series response.

This commit modifies the dedup proxy to not calculate those hashes if they are available.

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

Changes

  • Use pre-calculated chunk hashes if they exist.

Verification

Extended an existing unit test.

@fpetkovski fpetkovski requested a review from GiedriusS October 25, 2022 08:06
@fpetkovski fpetkovski force-pushed the use-chunk-hashes branch 2 times, most recently from 97974ee to 750433b Compare October 25, 2022 08:44
Thanos stores can now calculate chunk hashes and send them as part of
the series response.

This commit modifies the dedup proxy to not calculate those hashes if
they are available.

Signed-off-by: Filip Petkovski <[email protected]>
@GiedriusS GiedriusS merged commit 54f6d4a into thanos-io:main Oct 25, 2022
fpetkovski added a commit to fpetkovski/thanos that referenced this pull request Oct 25, 2022
Thanos stores can now calculate chunk hashes and send them as part of
the series response.

This commit modifies the dedup proxy to not calculate those hashes if
they are available.

Signed-off-by: Filip Petkovski <[email protected]>

Signed-off-by: Filip Petkovski <[email protected]>
GiedriusS pushed a commit to vinted/thanos that referenced this pull request Oct 31, 2022
Thanos stores can now calculate chunk hashes and send them as part of
the series response.

This commit modifies the dedup proxy to not calculate those hashes if
they are available.

Signed-off-by: Filip Petkovski <[email protected]>

Signed-off-by: Filip Petkovski <[email protected]>
ngraham20 pushed a commit to ngraham20/thanos that referenced this pull request May 18, 2023
Thanos stores can now calculate chunk hashes and send them as part of
the series response.

This commit modifies the dedup proxy to not calculate those hashes if
they are available.

Signed-off-by: Filip Petkovski <[email protected]>

Signed-off-by: Filip Petkovski <[email protected]>
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