<p>Let's suppose I have cluster with 5 Elasticsearch nodes and there is some data in it.</p>
<p>Now one of the nodes crashed for some reason. After that it is recovered, data is lost (there is a new volume created). My question is - will recovered Elasticsearch node sync with the cluster in order to get the existing data?</p>

liotur
<p>if you set <code>replica</code> setting to 1, yes data will be recovered.</p>
<p><a href="https://codingexplained.com/coding/elasticsearch/understanding-replication-in-elasticsearch" rel="nofollow noreferrer">https://codingexplained.com/coding/elasticsearch/understanding-replication-in-elasticsearch</a></p>
<p>The cluster health status is: <code>green</code>, <code>yellow</code> or <code>red</code>. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated.</p>
