Skip to content

[Bug] Fixes issue where the combiner can return no data when max series is hit - #6099

Merged
joe-elliott merged 2 commits into
mainfrom
fix-query-range
Dec 18, 2025
Merged

[Bug] Fixes issue where the combiner can return no data when max series is hit#6099
joe-elliott merged 2 commits into
mainfrom
fix-query-range

Conversation

@joe-elliott

Copy link
Copy Markdown
Collaborator

What this PR does:
This issue was discovered while working on integration tests and would be difficult but not impossible to trip in a real environment. If the combiner hit max series but had not yet received it's metadata response then it would still return true from shouldQuit(). This caused it to return an empty response when GRPCDiff() was called b/c it didn't think it had any complete data.

Also added a note about using GRPCFinal(). That was changed here, but perhaps we should revisit. Grafana has added the ability to accept larger websocket payloads and sending a complete final message would avoid bugs like this.

Checklist

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

Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
@joe-elliott joe-elliott changed the title [Bug] Fixes issue where the combiner Dec 18, 2025
@joe-elliott joe-elliott changed the title [Bug] Fixes issue where the combiner can no data when max series is hit Dec 18, 2025
@joe-elliott
joe-elliott merged commit 59107a2 into main Dec 18, 2025
21 checks passed
@joe-elliott
joe-elliott deleted the fix-query-range branch December 18, 2025 11:46
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
…es is hit (grafana#6099)

* fix bug where combiner could return an empty response when max series was hit

Signed-off-by: Joe Elliott <number101010@gmail.com>

* changelog

Signed-off-by: Joe Elliott <number101010@gmail.com>

---------

Signed-off-by: Joe Elliott <number101010@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants