# What will happen when a node which was moved out of the cluster rejoins the cluster after the cluster re balance?

**URL:** <https://discuss.elastic.co/t/what-will-happen-when-a-node-which-was-moved-out-of-the-cluster-rejoins-the-cluster-after-the-cluster-re-balance/163870>\
**Category:** Elasticsearch\
**Created:** [January 11, 2019, 9:03am UTC](https://discuss.elastic.co/t/what-will-happen-when-a-node-which-was-moved-out-of-the-cluster-rejoins-the-cluster-after-the-cluster-re-balance/163870 "2019-01-11T09:03:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Siddaram\_Jamagav](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@Siddaram\_Jamagav](https://discuss.elastic.co/u/Siddaram_Jamagav)\
**Post date:** [January 11, 2019, 9:03am UTC](https://discuss.elastic.co/t/what-will-happen-when-a-node-which-was-moved-out-of-the-cluster-rejoins-the-cluster-after-the-cluster-re-balance/163870/1 "2019-01-11T09:03:49Z")

</div>

suppose i have cluster of 5 nodes and its status is green and out of 5 one node leaves the cluster and i have configured delayed shard allocation. After the shard time out of the delayed allocation the master promotes the one of the replica as a primary and allocates the unassigned shards and re balances the cluster. What will happen when a the node which has moved out of the cluster rejoins the cluster after all the re balancing of the cluster has been done? what about the shards present in the node which has rejoined the cluster?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 11, 2019, 10:11am UTC](https://discuss.elastic.co/t/what-will-happen-when-a-node-which-was-moved-out-of-the-cluster-rejoins-the-cluster-after-the-cluster-re-balance/163870/2 "2019-01-11T10:11:48Z")

</div>

They will most likely be removed and synchronized again I believe.

---

<div class="post-metadata">

**Author:** ![Siddaram\_Jamagav](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@Siddaram\_Jamagav](https://discuss.elastic.co/u/Siddaram_Jamagav)\
**Post date:** [January 11, 2019, 10:30am UTC](https://discuss.elastic.co/t/what-will-happen-when-a-node-which-was-moved-out-of-the-cluster-rejoins-the-cluster-after-the-cluster-re-balance/163870/3 "2019-01-11T10:30:43Z")

</div>

you mean all the shards of the re joined node will be garbage collected?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 11, 2019, 10:47am UTC](https://discuss.elastic.co/t/what-will-happen-when-a-node-which-was-moved-out-of-the-cluster-rejoins-the-cluster-after-the-cluster-re-balance/163870/4 "2019-01-11T10:47:11Z")

</div>

Most likely yes.  
Although that might have changed recently with the sequence ids but I'm not sure.

---

<div class="post-metadata">

**Author:** ![Siddaram\_Jamagav](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@Siddaram\_Jamagav](https://discuss.elastic.co/u/Siddaram_Jamagav)\
**Post date:** [January 11, 2019, 11:00am UTC](https://discuss.elastic.co/t/what-will-happen-when-a-node-which-was-moved-out-of-the-cluster-rejoins-the-cluster-after-the-cluster-re-balance/163870/5 "2019-01-11T11:00:47Z")

</div>

@dadoonet okay Thank you . 🙂

---

<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:** [February 8, 2019, 11:00am UTC](https://discuss.elastic.co/t/what-will-happen-when-a-node-which-was-moved-out-of-the-cluster-rejoins-the-cluster-after-the-cluster-re-balance/163870/6 "2019-02-08T11:00:52Z")

</div>

Closed on February 8, 2019, 11:00am UTC

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