# Elasticsearch cluster unexpected failure for few minutes when one node down

**URL:** https://discuss.elastic.co/t/elasticsearch-cluster-unexpected-failure-for-few-minutes-when-one-node-down/132601
**Category:** Elasticsearch
**Created:** [May 20, 2018, 7:36pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-unexpected-failure-for-few-minutes-when-one-node-down/132601 "2018-05-20T19:36:59Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![learnhub17](https://avatars.discourse-cdn.com/v4/letter/l/91b2a8/32.png) [@learnhub17](https://discuss.elastic.co/u/learnhub17)
#### Post date: [May 20, 2018, 7:36pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-unexpected-failure-for-few-minutes-when-one-node-down/132601/1 "2018-05-20T19:36:59Z")

</div>

I have created ES-lab with 3master,2client and 2 datanode. All request is routed through client node.  
I have found during indexing if one of my datanode goes down, my entire cluster will get unavailable for 1-2 minutes.  
I believe this is because of primary shard belongs to indexing index was also unavailable with the same node.

If I am right then can we make any improvement to minimize such downtime ?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [May 20, 2018, 8:54pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-unexpected-failure-for-few-minutes-when-one-node-down/132601/2 "2018-05-20T20:54:55Z")

</div>

Which version of Elasticsearch are you using? Do you have a replica configured for your indices? How many indices and shards do you have in the cluster?

---

<div class="post-metadata">

### Author: ![learnhub17](https://avatars.discourse-cdn.com/v4/letter/l/91b2a8/32.png) [@learnhub17](https://discuss.elastic.co/u/learnhub17)
#### Post date: [May 21, 2018, 4:46am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-unexpected-failure-for-few-minutes-when-one-node-down/132601/3 "2018-05-21T04:46:30Z")

</div>

ES version: 6.2.2  
replica: 1  
index: 40  
shards: 4 shards for each index

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [May 21, 2018, 5:02am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-unexpected-failure-for-few-minutes-when-one-node-down/132601/4 "2018-05-21T05:02:53Z")

</div>

What is in the Elasticsearch logs?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [June 18, 2018, 5:02am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-unexpected-failure-for-few-minutes-when-one-node-down/132601/5 "2018-06-18T05:02:55Z")

</div>

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