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

[Index Management] Make fetch indices call more resilient #103924

Closed
alisonelizabeth opened this issue Jun 30, 2021 · 1 comment · Fixed by #104155
Closed

[Index Management] Make fetch indices call more resilient #103924

alisonelizabeth opened this issue Jun 30, 2021 · 1 comment · Fixed by #104155
Labels
chore Feature:Index Management Index and index templates UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@alisonelizabeth
Copy link
Contributor

alisonelizabeth commented Jun 30, 2021

Due to a change in Elasticsearch (elastic/elasticsearch#74687), the call to fetch indices in Index Management is failing, causing the "Indices" tab to error.

Screen Shot 2021-06-30 at 12 15 25 PM

While this should be resolved on the ES side, we can make some changes in our code to be more resilient:

  1. The problem appears to occur on #L81, as the index is undefined. One improvement here might be to first check that the number of indices is the same as to what is returned from cat indices call and also to verify that the index is defined.
  2. Evaluate current API integration tests and add better coverage to cover this scenario.
@alisonelizabeth alisonelizabeth added chore Feature:Index Management Index and index templates UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Jun 30, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-stack-management (Team:Stack Management)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Feature:Index Management Index and index templates UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants