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

Fix indices shown in _cat/indices (#43286) #43620

Merged
merged 1 commit into from
Jun 26, 2019
Merged

Conversation

tlrx
Copy link
Member

@tlrx tlrx commented Jun 26, 2019

After two recent changes (#38824 and #33888), the _cat/indices API
no longer report information for active recovering indices and
non-replicated closed indices. It also misreport replicated closed
indices that are potentially not authorized for the user.

This commit changes how the cat action works by first using the
Get Settings API in order to resolve authorized indices. It then uses
the Cluster State, Cluster Health and Indices Stats APIs to retrieve
information about the indices.

Closes #39933

After two recent changes (elastic#38824 and elastic#33888), the _cat/indices API
no longer report information for active recovering indices and
non-replicated closed indices. It also misreport replicated closed
indices that are potentially not authorized for the user.

This commit changes how the cat action works by first using the
Get Settings API in order to resolve authorized indices. It then uses
the Cluster State, Cluster Health and Indices Stats APIs to retrieve
information about the indices.

Closes elastic#39933
@tlrx tlrx added the backport label Jun 26, 2019
@tlrx
Copy link
Member Author

tlrx commented Jun 26, 2019

@elasticmachine run elasticsearch-ci/1

@tlrx tlrx merged commit 9aa340c into elastic:7.2 Jun 26, 2019
@tlrx tlrx deleted the cat-indices-on-7.2 branch June 26, 2019 09:51
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.

1 participant