elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.72k stars 8.14k forks source link

[Onboarding] Remove retrying when fetch index API query fails #193634

Open saarikabhasi opened 23 hours ago

saarikabhasi commented 23 hours ago

Summary

This PR remove retry when fetch index returns error. Error message is shown promptly

How to test:

  1. Enable searchIndices plugin in kibana.dev.yml as this plugin is behind Feature flag
    
    xpack.searchIndices.enabled: true

2. [Create new index](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html)
3. Navigate to `/app/elasticsearch/indices/index_details/${indexName}/data` 
4. [ Delete index](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-delete-index.html)
5. Wait for the error screen to appear. Note error message is shown after one `/internal/index_management/indices/my-index` API is failed
elasticmachine commented 23 hours ago
:robot: Jobs for this PR can be triggered through checkboxes. :construction: :information_source: To trigger the CI, please tick the checkbox below :point_down: - [ ] Click to trigger **kibana-pull-request** for this PR!