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

Querier can now notify about its shutdown without providing any authentication in the context. #4066

Merged
merged 6 commits into from
Apr 9, 2021

Conversation

pstibrany
Copy link
Contributor

@pstibrany pstibrany commented Apr 9, 2021

What this PR does: This PR allows querier to call /frontend.Frontend/NotifyClientShutdown and /schedulerpb.SchedulerForQuerier/NotifyQuerierShutdown without authentication.

Which issue(s) this PR fixes:
Fixes #4064

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@pstibrany pstibrany changed the title Fix issue 4064 Querier can now notify about its shutdown without providing any authentication in the context. Apr 9, 2021
Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Peter Štibraný <[email protected]>
Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent job and thanks for fixing it! I now understand why I didn't notice while manually testing the feature: I was testing it in a single-tenant Cluster with auth disabled 🤦

Signed-off-by: Marco Pracucci <[email protected]>
@pstibrany
Copy link
Contributor Author

I now understand why I didn't notice while manually testing the feature: I was testing it in a single-tenant Cluster with auth disabled 🤦

I've run into exactly the same problem when working on query-scheduler ;-)

@pstibrany pstibrany merged commit a14f072 into cortexproject:master Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

querier can not de-register itself from query-frontend when normal shutdown
2 participants