Add timeouts to refresh, flush and optimize apis #9997
Labels
:Data Management/Indices APIs
APIs to create and manage indices and templates
>enhancement
help wanted
adoptme
At the moment when the refresh, flush and optimize apis are executed and there is a cluster block (for example no master block) then these apis fail immediately. It would be nicer if those apis would wait for a defined timeout period and see if the cluster block is resolved within that period. This should be similar in how deal with cluster blocks in the index, update and delete apis (which have a timeout parameter).
The text was updated successfully, but these errors were encountered: