# How does elasticsearch deal with node failure

**URL:** <https://discuss.elastic.co/t/how-does-elasticsearch-deal-with-node-failure/12214>\
**Category:** Elasticsearch\
**Created:** [June 1, 2013, 12:23am UTC](https://discuss.elastic.co/t/how-does-elasticsearch-deal-with-node-failure/12214 "2013-06-01T00:23:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dancer](https://avatars.discourse-cdn.com/v4/letter/d/e5b9ba/32.png) [@dancer](https://discuss.elastic.co/u/dancer)\
**Post date:** [June 1, 2013, 12:23am UTC](https://discuss.elastic.co/t/how-does-elasticsearch-deal-with-node-failure/12214/1 "2013-06-01T00:23:01Z")

</div>

I have many question, but I cannot find answer in the guide.  
if a node failure, how elasticsearch do it balance and deal with the data?

the shard is chosen by hashing the routing value, but how it is  
Correspondence with the node?

what is the rule of shard?

and more...

anyone could tell me the answer or have document about that?

thanks

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:33am UTC](https://discuss.elastic.co/t/how-does-elasticsearch-deal-with-node-failure/12214/2 "2017-07-06T02:33:30Z")

</div>

Closed on July 6, 2017, 2:33am UTC


