-
Notifications
You must be signed in to change notification settings - Fork 544
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue where successful streaming gRPC requests are incorrectly re…
…ported as cancelled (#6471) * Add failing test. * Fix issue where query requests that stream chunks from ingesters but return no series are reported as cancelled rather than successful in traces and metrics. * Fix other instances of issue. * Add changelog entry. * Address PR feedback Co-authored-by: Oleg Zaytsev <[email protected]> * Add more details to assertions * Extract method * Fix race between query evaluation finishing and ingester chunks streaming goroutine closing the gRPC stream. * Refactor SeriesChunksStreamReader to follow same structure as for store-gateway chunk stream reader * Update changelog entry. * Fix race between query evaluation finishing and store-gateway chunks streaming goroutine closing the gRPC stream. * Apply suggestions from code review --------- Co-authored-by: Oleg Zaytsev <[email protected]> Co-authored-by: Marco Pracucci <[email protected]>
- Loading branch information
1 parent
d6010a4
commit 1c4cacc
Showing
11 changed files
with
296 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.