-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
/_cat/shards support path stats #53461
/_cat/shards support path stats #53461
Conversation
Pinging @elastic/es-core-features (:Core/Features/CAT APIs) |
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 working on this @weizijun! I've left couple of style suggestions, other than that it's good to go, I'll run tests and merge it as soon as you can update them
server/src/test/java/org/elasticsearch/rest/action/cat/RestShardsActionTests.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/elasticsearch/rest/action/cat/RestShardsActionTests.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/elasticsearch/rest/action/cat/RestShardsActionTests.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/elasticsearch/rest/action/cat/RestShardsActionTests.java
Outdated
Show resolved
Hide resolved
@probakowski Thank you very much for review, I have fixed these problem. |
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 👍
@elasticmachine ok to test |
hi, @probakowski , I fix the rest-api-spec cat.shards error. |
@elasticmachine update branch |
@weizijun there are still tests failing and it seems strongly connected ( |
ok, I'am trying to fix the mixedClusterTest. |
HI, @probakowski !, I fixed the bwc error. But some other case run error. Can you help to update branch again! Thank you very much! |
@elasticmachine update branch |
@elasticmachine update branch |
@elasticmachine update branch |
hi, @probakowski @jakelandis , can you help to merge this pr? thanks! |
Thanks @weizijun for working on this and fixing all issues, I've merged PR to master and will backport it soon to |
Thank you @probakowski ! |
* _cat/shards support path stats * fix some style case * fix some style case * fix rest-api-spec cat.shards error * fix rest-api-spec cat.shards bwc error Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* _cat/shards support path stats * fix some style case * fix some style case * fix rest-api-spec cat.shards error * fix rest-api-spec cat.shards bwc error Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: weizijun <weizijun1989@gmail.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
/_cat/shards cant support path stats. so where path.data uses multiple paths, _cat/shards can be used to view the path of each shard