# Adding the 3rd node on 0.20.5 , (5 primary , 1 replica) did not rebalance based on count

**URL:** <https://discuss.elastic.co/t/adding-the-3rd-node-on-0-20-5-5-primary-1-replica-did-not-rebalance-based-on-count/12497>\
**Category:** Elasticsearch\
**Created:** [June 20, 2013, 9:18pm UTC](https://discuss.elastic.co/t/adding-the-3rd-node-on-0-20-5-5-primary-1-replica-did-not-rebalance-based-on-count/12497 "2013-06-20T21:18:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kobi\_Biton](https://avatars.discourse-cdn.com/v4/letter/k/779978/32.png) [@Kobi\_Biton](https://discuss.elastic.co/u/Kobi_Biton)\
**Post date:** [June 20, 2013, 9:18pm UTC](https://discuss.elastic.co/t/adding-the-3rd-node-on-0-20-5-5-primary-1-replica-did-not-rebalance-based-on-count/12497/1 "2013-06-20T21:18:12Z")

</div>

hi all,

I have a 2 node 0.20.5 cluster with 5 shards and 1 replica  
I have jut added a 3rd node  
and rebalacing ended  
To my best knowledge the shards should be distributed evenly across the  
nodes  
so I should have something like 3 shards per node and 4 shard on a single  
node  
for some reason on most indices one node holds 5 primary and replica shards  
and the rest is divided evenly  
why is that happening ?

Can I force a re-balance to the cluster ? without restarting it ?

Thanks,  
Kobi

--  
The above terms reflect a potential business arrangement, are provided solely  
as a basis for further discussion, and are not intended to be and do not  
constitute a legally binding obligation. No legally binding obligations will  
be created, implied, or inferred until an agreement in final form is executed  
in writing by all parties involved.

This email and any attachments hereto may be confidential or privileged.  
If you received this communication by mistake, please don't forward it to  
anyone else, please erase all copies and attachments, and please let me  
know that it has gone to the wrong person. 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:** ![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:** [June 21, 2013, 4:59am UTC](https://discuss.elastic.co/t/adding-the-3rd-node-on-0-20-5-5-primary-1-replica-did-not-rebalance-based-on-count/12497/2 "2013-06-21T04:59:34Z")

</div>

You may be interested by: [http://www.elasticsearch.org/guide/reference/api/admin-cluster-reroute/](http://www.elasticsearch.org/guide/reference/api/admin-cluster-reroute/)

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 20 juin 2013 à 23:18, Kobi Biton [kbiton@outbrain.com](mailto:kbiton@outbrain.com) a écrit :

hi all,

I have a 2 node 0.20.5 cluster with 5 shards and 1 replica  
I have jut added a 3rd node  
and rebalacing ended  
To my best knowledge the shards should be distributed evenly across the nodes  
so I should have something like 3 shards per node and 4 shard on a single node  
for some reason on most indices one node holds 5 primary and replica shards  
and the rest is divided evenly  
why is that happening ?

Can I force a re-balance to the cluster ? without restarting it ?

Thanks,  
Kobi

The above terms reflect a potential business arrangement, are provided solely as a basis for further discussion, and are not intended to be and do not constitute a legally binding obligation. No legally binding obligations will be created, implied, or inferred until an agreement in final form is executed in writing by all parties involved.

## This email and any attachments hereto may be confidential or privileged. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person. 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).

--  
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:30am UTC](https://discuss.elastic.co/t/adding-the-3rd-node-on-0-20-5-5-primary-1-replica-did-not-rebalance-based-on-count/12497/3 "2017-07-06T02:30:05Z")

</div>


