-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Handle context
cancellation in some of the querier
downstream requests
#5080
Conversation
Signed-off-by: Cyril Tovena <[email protected]>
Signed-off-by: Kaviraj <[email protected]>
Signed-off-by: Cyril Tovena <[email protected]>
Signed-off-by: Cyril Tovena <[email protected]>
Signed-off-by: Cyril Tovena <[email protected]>
Signed-off-by: Cyril Tovena <[email protected]>
Signed-off-by: Kaviraj <[email protected]>
Signed-off-by: Cyril Tovena <[email protected]>
Signed-off-by: Cyril Tovena <[email protected]>
Signed-off-by: Cyril Tovena <[email protected]>
Signed-off-by: Kaviraj <[email protected]>
Signed-off-by: Kaviraj <[email protected]>
context
cancellation correctly in some of the querier
upstream calls.context
cancellation correctly in some of the querier
upstream calls.
Signed-off-by: Kaviraj <[email protected]>
Signed-off-by: Kaviraj <[email protected]>
Signed-off-by: Kaviraj <[email protected]>
This include change we already merge or are in-review process. Can we just keep context check one we added ? |
Signed-off-by: Kaviraj <[email protected]>
Signed-off-by: Kaviraj <[email protected]>
context
cancellation correctly in some of the querier
upstream calls.context
cancellation in some of the querier
downstream requests
@cyriltovena Yes. done :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Cyril Tovena <[email protected]>
You have a build error, my bad my suggestion didn't remove the import. |
pkg/querier/http.go
Outdated
@@ -6,6 +6,7 @@ import ( | |||
"time" | |||
|
|||
util_log "github.com/cortexproject/cortex/pkg/util/log" | |||
"github.com/cortexproject/cortex/pkg/util/spanlogger" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one.
What this PR does / why we need it:
This PR handles
context
cancellation in some of thequerier
downstream requests.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Checklist
CHANGELOG.md
about the changes.