-
Notifications
You must be signed in to change notification settings - Fork 569
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
Add /ingester/unregister-on-shutdown
HTTP endpoint
#7739
Add /ingester/unregister-on-shutdown
HTTP endpoint
#7739
Conversation
The original proposal suggested an The name Ingesters already have an I'll give some thought to a better name. Currently, I am partial to a name like |
After giving it some thought, I think I prefer the original Having an endpoint called I expect much of this ambiguity can be clarified in the endpoint's documentation, and I will attempt to do so. Opinions on the name of the endpoint are welcome. |
my 2c: Mimir has already conflated scaledown with shutdown (e.g. |
We are still in the process of testing out a crude implementation of this endpoint in our cluster. Since that is expected to take some time, I figured the review of this feature could be performed in parallel. |
/ingester/unregister-on-shutdown
HTTP endpoint/ingester/unregister-on-shutdown
HTTP endpoint
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.
docs lgtm
Co-authored-by: Jack Baldry <[email protected]>
@dimitarvdimitrov It would be great if we could proceed with the review of this change. I'm not sure who to ping (or who can review) so I am reaching out to you as you've been previously involved with the issue. |
@dimitarvdimitrov Any update on the review status of this pull request? I'd be happy to reach out to someone else from the Mimir team in case you're not the right person to review this. |
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.
Thank you for your work on this. I'd suggest to simplify the handler code, and fix mismatch in HTTP method names (endpoint is registered with POST
but reacts on PUT
).
@pstibrany Thanks for reviewing! With your suggestions, the diff is now much leaner. I've addressed all comments. Feel free to take another look. |
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.
Thank you very much for addressing my feedback and very clear explanation of taken actions! Let's fix the changelog entry (my bad that I missed in previous review), and we can merge it.
What this PR does
This pull request adds a HTTP
/ingester/unregister-on-shutdown
endpoint to ingesters. The endpoint was originally conceived here and has a formal proposal document here.Which issue(s) this PR fixes or relates to
Fixes #5901.
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]
.I'm not sure if this is an experimental feature?about-versioning.md
updated with experimental features.