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

/_cat/shards support path stats #53461

Merged

Conversation

weizijun
Copy link
Contributor

@weizijun weizijun commented Mar 12, 2020

/_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

@weizijun weizijun changed the title _cat/shards support path stats /_cat/shards support path stats Mar 12, 2020
@cbuescher cbuescher added the :Data Management/CAT APIs Text APIs behind /_cat label Mar 12, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/CAT APIs)

Copy link
Contributor

@probakowski probakowski left a 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

@weizijun
Copy link
Contributor Author

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

@probakowski Thank you very much for review, I have fixed these problem.

Copy link
Contributor

@probakowski probakowski left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@probakowski
Copy link
Contributor

@elasticmachine ok to test

@weizijun
Copy link
Contributor Author

hi, @probakowski , I fix the rest-api-spec cat.shards error.

@probakowski
Copy link
Contributor

@elasticmachine update branch

@probakowski
Copy link
Contributor

@weizijun there are still tests failing and it seems strongly connected (MixedClusterClientYamlTestSuiteIT.test {p0=cat.shards/10_basic/Help}), can you please fix it?

@weizijun
Copy link
Contributor Author

@weizijun there are still tests failing and it seems strongly connected (MixedClusterClientYamlTestSuiteIT.test {p0=cat.shards/10_basic/Help}), can you please fix it?

ok, I'am trying to fix the mixedClusterTest.

@weizijun
Copy link
Contributor Author

HI, @probakowski !, I fixed the bwc error. But some other case run error. Can you help to update branch again! Thank you very much!

@weizijun
Copy link
Contributor Author

@elasticmachine update branch

@weizijun
Copy link
Contributor Author

@elasticmachine update branch

@weizijun
Copy link
Contributor Author

@elasticmachine update branch

@weizijun
Copy link
Contributor Author

hi, @probakowski @jakelandis , can you help to merge this pr? thanks!

@probakowski
Copy link
Contributor

Thanks @weizijun for working on this and fixing all issues, I've merged PR to master and will backport it soon to 7.x

@weizijun
Copy link
Contributor Author

Thanks @weizijun for working on this and fixing all issues, I've merged PR to master and will backport it soon to 7.x

Thank you @probakowski

probakowski pushed a commit to probakowski/elasticsearch that referenced this pull request Mar 24, 2020
* _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>
probakowski added a commit that referenced this pull request Mar 24, 2020
* _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>
yyff pushed a commit to yyff/elasticsearch that referenced this pull request Apr 17, 2020
* _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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants