-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Deprecate undocumented alternatives to the nodes hot threads API (#52640) #52930
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
Conversation
|
💚 CLA has been signed |
|
I have signed the Contribution Agreement but I still cannot pass the checks |
jasontedor
left a comment
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.
Thanks for picking this up. I left a comment.
server/src/main/java/org/elasticsearch/rest/action/admin/cluster/RestNodesHotThreadsAction.java
Outdated
Show resolved
Hide resolved
jasontedor
left a comment
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.
I left a question.
server/src/main/java/org/elasticsearch/rest/action/admin/cluster/RestNodesHotThreadsAction.java
Outdated
Show resolved
Hide resolved
jasontedor
left a comment
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.
I left a few more comments, and also the comment about the deprecated route lookup in the prepareRequest method.
server/src/main/java/org/elasticsearch/rest/action/admin/cluster/RestNodesHotThreadsAction.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/rest/action/admin/cluster/RestNodesHotThreadsAction.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/rest/action/admin/cluster/RestNodesHotThreadsAction.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/rest/action/admin/cluster/RestNodesHotThreadsAction.java
Show resolved
Hide resolved
jasontedor
left a comment
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.
I left some comments.
server/src/main/java/org/elasticsearch/rest/action/admin/cluster/RestNodesHotThreadsAction.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/rest/action/admin/cluster/RestNodesHotThreadsAction.java
Outdated
Show resolved
Hide resolved
|
Pinging @elastic/es-core-infra (:Core/Infra/REST API) |
jasontedor
left a comment
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.
Thanks, we're getting there now. One more thing, and also can you please sign the CLA?
|
|
||
| public class RestNodesHotThreadsAction extends BaseRestHandler { | ||
|
|
||
| static final String formatDeprecatedMessageWithoutNodeID = "[%s] is a deprecated endpoint. Please use [/nodes/hot_threads] instead."; |
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.
These can all be private now.
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.
I have signed the CLA but I did not get any confirmation email or other notification to indicate that I have successfully signed it. Thanks!
|
cla/check |
|
@elasticmachine update branch @elasticmachine test this please |
|
@elasticmachine update branch |
|
Okay! Thank you. |
|
@elasticmachine test this please |
|
@elasticmachine update branch |
|
@muachilin Only to let you know, only maintainers can trigger CI test runs (as you saw, you can use the bot to update the branch with the latest changes from the target branch though). |
|
@elasticmachine test this please |
|
I see. This is my first time to handle issues in elastic's OSS. Thanks for your time! 😊 |
|
@elasticmachine update branch |
|
@elasticmachine test this please |
jasontedor
left a comment
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.
Okay, I was getting ready to merge this in and I noticed one issue. Can you address?
server/src/main/java/org/elasticsearch/rest/action/admin/cluster/RestNodesHotThreadsAction.java
Outdated
Show resolved
Hide resolved
|
@elasticmachine update branch |
|
@elasticmachine test this please |
jasontedor
left a comment
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!
|
Thanks! |
This commit deprecates various undocumented alternatives to the hot threads API.
|
Thanks @muachilin! |
This PR deprecates the undocumented alternatives to the nodes hot threads API.
[issue: #52640]