Delay in re-sharding opeartions

Is there any way to set a time when OpenSearch will start to relocate shards from one node to another?

Usecase: node goes briefly offline 1-2 min and it automatically starts to re-balance shards (despite they have replicas) and it does an unnecessary job. So I would like to make a delay in 1 or 2 min before system will start to do re-balancing

I think index.unassigned.node_left.delayed_timeout is the option you’re looking for. I don’t see a reference for it in OpenSearch docs, but it’s been in Elasticsearch years before the fork: Delaying allocation when a node leaves | Elasticsearch Guide [5.0] | Elastic

1 Like