Skip to content

Conversation

56quarters
Copy link
Contributor

@56quarters 56quarters commented Sep 26, 2025

What this PR does

This changes store-gateways to use the streaming code path for requests where chunks are not sent. This provides the same results to queriers since they already know how to parse the streaming response and allows us to remove the non-streaming code path in the store-gateway.

Notably however, this change does not remove any of the non-streaming code from queriers. This is required to avoid failing requests during a rollout. When queriers make requests without chunks to new store-gateways, the streaming code path will be used and queriers will be able to parse the result. When requests without chunks are made to older store-gateways the non-streaming code path will be used which queriers are still able to parse the result of.

Which issue(s) this PR fixes or relates to

Part of #12673

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]. If changelog entry is not needed, please add the changelog-not-needed label to the PR.
  • about-versioning.md updated with experimental features.

@56quarters 56quarters force-pushed the 56quarters/stream-only-2 branch 3 times, most recently from ab72005 to 3fd5299 Compare September 26, 2025 14:13
This changes store-gateways to use the streaming code path for requests
where chunks are not sent. This provides the same results to queriers
since they already know how to parse the streaming response and allows
us to remove the non-streaming code path in the store-gateway.

Notably however, this change does not remove any of the non-streaming
code from queriers. This is required to avoid failing requests during
a rollout. When queriers make requests without chunks to new store-
gateways, the streaming code path will be used and queriers will be
able to parse the result. When requests without chunks are made to
older store-gateways the non-streaming code path will be used which
queriers are still able to parse the result of.

Part of #12673

Signed-off-by: Nick Pillitteri <[email protected]>
@56quarters 56quarters force-pushed the 56quarters/stream-only-2 branch from 3fd5299 to f31cf68 Compare September 26, 2025 19:09
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.

1 participant