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

TraceByID: don't allow concurrent_shards greater than query_shards #4074

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

electron0zero
Copy link
Member

@electron0zero electron0zero commented Sep 12, 2024

What this PR does:
concurrent shards grater then query shards should not be allowed because it would create more goroutines then the jobs to send these jobs to queriers.

if that happens, set concurrent_shards=query_shards and log a warning

Which issue(s) this PR fixes:
Fixes #

Checklist

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

@electron0zero electron0zero merged commit 7756ca8 into grafana:main Sep 12, 2024
16 checks passed
@electron0zero electron0zero deleted the tracebyid_concurrent_shard branch September 12, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants