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

chore: [k212] fix: special case the return values from a sharded first/last_over_time query #13667

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

grafanabot
Copy link
Collaborator

Backport 29a37d5 from #13578


We noticed during the rollout of first/last_over_time sharding earlier this week that instant queries would return vectors only (as intended), and the code for handling merging of sharded first/last_over_time queries expected to only receive matrices.

With this PR we're special casing the return value from JoinSampleVector if the operation type is the sharded first/last_over_time.

…me query (#13578)

Signed-off-by: Callum Styan <[email protected]>
(cherry picked from commit 29a37d5)
@grafanabot grafanabot requested a review from a team as a code owner July 25, 2024 18:00
@grafanabot grafanabot added backport size/L type/bug Somehing is not working as expected labels Jul 25, 2024
@grafanabot grafanabot requested a review from cstyan July 25, 2024 18:00
@cstyan cstyan merged commit eae6d82 into k212 Jul 25, 2024
64 checks passed
@cstyan cstyan deleted the backport-13578-to-k212 branch July 25, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport size/L type/bug Somehing is not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants