elastic / kibana

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

Handle cluster_block_exception during reindexing the TM index #201297

Open ersin-erdal opened 3 days ago

ersin-erdal commented 3 days ago

Resolves: https://github.com/elastic/response-ops-team/issues/249

This PR increases task claiming interval in case of cluster_block_exception to avoid generating too many error during TM index reindexing.

To verify:

elasticmachine commented 3 days 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! - [ ] Click to trigger **kibana-deploy-project-from-pr** for this PR!
pmuellr commented 2 days ago

Haven't reviewed the code yet, but I did take it for a spin.

Notes:

Other than that, seems to work as described. Looks like it's logging the Discovery service message ~1/minute, and then you can see errors updating task claims, etc, as expected. When the block is removed, everything comes back to normal.