ClusterBlockException retries with Elasticsearch java client

I am trying to construct a retry mechanism when getting ClusterBlockException
in case of master failover in Elasticsearch cluster.
What should be the max timeout for this retry? When can I be positive that the cluster is down?

I encountered this issue and it's still open. No plans for fixing this?
open issue

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.