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(blooms): Deduplicate filtered series and chunks #12791

Merged
merged 4 commits into from
Apr 25, 2024

Conversation

chaudum
Copy link
Contributor

@chaudum chaudum commented Apr 25, 2024

What this PR does / why we need it:

Blocks may have overlapping fingerprint ranges, therefore one an the same series can assigned to different bloom blocks and executed on different bloom gateways. This then results in the same series and their chunks to be present multiple times in the response.
Therefore, series and their chunks need to be de-duplicated upon merge before returning them to the caller.

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • Title matches the required conventional commits format, see here
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/setup/upgrade/_index.md
  • For Helm chart changes bump the Helm chart version in production/helm/loki/Chart.yaml and update production/helm/loki/CHANGELOG.md and production/helm/loki/README.md. Example PR
  • If the change is deprecating or removing a configuration option, update the deprecated-config.yaml and deleted-config.yaml files respectively in the tools/deprecated-config-checker directory. Example PR

chaudum added 4 commits April 25, 2024 11:29
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
@grafanabot
Copy link
Collaborator

This PR must be merged before a backport PR will be created.

1 similar comment
@grafanabot
Copy link
Collaborator

This PR must be merged before a backport PR will be created.

@owen-d owen-d merged commit 3bf2d1f into main Apr 25, 2024
61 checks passed
@owen-d owen-d deleted the chaudum/dedupe-filtered-chunks branch April 25, 2024 16:11
grafanabot pushed a commit that referenced this pull request Apr 25, 2024
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
(cherry picked from commit 3bf2d1f)
chaudum added a commit that referenced this pull request Apr 25, 2024
…2794)

Backport 3bf2d1f from #12791

Co-authored-by: Christian Haudum <christian.haudum@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants