-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cancel issue between Query Frontend and Query Schdeduler (#5113)
* Fix cancel issue between Query Frontend -> Query Schdeduler Signed-off-by: Kaviraj <[email protected]> * remove assert check for message type Signed-off-by: Kaviraj <[email protected]> * Handle the case where Frontend is running without Frontend workers Signed-off-by: Kaviraj <[email protected]> * Make it into `sendRequestCancel()` func Signed-off-by: Kaviraj <[email protected]> * Remove debug logs Signed-off-by: Kaviraj <[email protected]> * Fix note Signed-off-by: Kaviraj <[email protected]> * Remove workers count debug log on test Signed-off-by: Kaviraj <[email protected]> * Add bug link to test Signed-off-by: Kaviraj <[email protected]> * Fixes the case where we cancel after enqueuing Signed-off-by: Cyril Tovena <[email protected]> * Update pkg/lokifrontend/frontend/v2/frontend.go Co-authored-by: Oleg Zaytsev <[email protected]> * Switch to a buffered channel instead Signed-off-by: Cyril Tovena <[email protected]> * Add error on unknown response status from scheduler Signed-off-by: Kaviraj <[email protected]> Co-authored-by: Cyril Tovena <[email protected]> Co-authored-by: Oleg Zaytsev <[email protected]>
- Loading branch information
1 parent
7ff1b45
commit 37d0c6c
Showing
3 changed files
with
46 additions
and
9 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