How to delay allocate data to new added DataNode


#1

Hi guys,

I encountered an issue which is the new added Data Node may not that stable. This node may offline within 5mins after it joined the cluster, and this node will never back online then. So it will cause that some of the shards unassigned.
I'd like to know if there are some configs I can use to delay, like 5 mins, to allocate data to the new added DataNode.

After reading this doc https://www.elastic.co/guide/en/elasticsearch/reference/current/rolling-upgrades.html, I got an idea that is to disable the allocation before scale up the cluster, then enable it afterward. But I'd like to know if there is an easy way to do this, like how can I delay the allocation to new added data node.

Thank you for your help. :slight_smile:


(system) #2

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