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

fix(tsdb): correctly use bit prefix calculation in tsdb shard matching #12394

Merged
merged 3 commits into from
Mar 29, 2024

Conversation

owen-d
Copy link
Member

@owen-d owen-d commented Mar 28, 2024

I unwittingly introduced a bug in #12208 by using the old astmapper shard's Match calculation, which caused us to incorrectly calculate shard inclusion in TSDB. This PR fixes that and I'll look into another to preclude reintroducing this type of error.

Signed-off-by: Owen Diehl <ow.diehl@gmail.com>
@owen-d owen-d requested a review from a team as a code owner March 28, 2024 23:21
Copy link
Collaborator

@slim-bean slim-bean left a comment

Choose a reason for hiding this comment

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

it's poetic how simple this fix is vs how much it took to find

@owen-d owen-d enabled auto-merge (squash) March 28, 2024 23:35
Signed-off-by: Owen Diehl <ow.diehl@gmail.com>
Signed-off-by: Owen Diehl <ow.diehl@gmail.com>
@owen-d owen-d merged commit 3922d38 into grafana:main Mar 29, 2024
10 checks passed
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.

None yet

2 participants