# Rebalance is Not Working In Elasticsearch

**URL:** https://discuss.elastic.co/t/rebalance-is-not-working-in-elasticsearch/345003
**Category:** Elasticsearch
**Created:** [October 13, 2023, 12:44pm UTC](https://discuss.elastic.co/t/rebalance-is-not-working-in-elasticsearch/345003 "2023-10-13T12:44:43Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Debasis\_Mallick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/debasis_mallick/32/123723_2.png) [@Debasis\_Mallick](https://discuss.elastic.co/u/Debasis_Mallick)
#### Post date: [October 13, 2023, 12:44pm UTC](https://discuss.elastic.co/t/rebalance-is-not-working-in-elasticsearch/345003/1 "2023-10-13T12:44:43Z")

</div>

Hi Team,

I had below scenario in my Elasticsearch setup.  
The cluster previously consists of 2 nodes and one index having docs around 125M.  
I had added one more node to the cluster but the data is not getting distributed uniformly across three nodes.  
So I just want to know is rebalance will happen automatically or we need to trigger manually and how to check the progress of this rebalance activity.

Thanks,  
Debasis

---

<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: [October 13, 2023, 12:57pm UTC](https://discuss.elastic.co/t/rebalance-is-not-working-in-elasticsearch/345003/2 "2023-10-13T12:57:56Z")

</div>

How many primary and replica shards do you have in the cluster?

Are all nodes running exactly the same vesion?

---

<div class="post-metadata">

### Author: ![Debasis\_Mallick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/debasis_mallick/32/123723_2.png) [@Debasis\_Mallick](https://discuss.elastic.co/u/Debasis_Mallick)
#### Post date: [October 13, 2023, 1:26pm UTC](https://discuss.elastic.co/t/rebalance-is-not-working-in-elasticsearch/345003/3 "2023-10-13T13:26:24Z")

</div>

@Christian_Dahlqvist Thanks for response. Please find the below response to your questions.

How many primary and replica shards do you have in the cluster?  
Ans:- It is the default setting while creating Index (Primary shard 1 and replica 1).  
Are all nodes running exactly the same version?.  
Ans: Yes (8.9.x).

Thanks,  
Debasis

---

<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: [October 13, 2023, 1:34pm UTC](https://discuss.elastic.co/t/rebalance-is-not-working-in-elasticsearch/345003/4 "2023-10-13T13:34:53Z")

</div>

Elasticsearch balances data at the shard level. If you only have one index with one primary and one replica shard, those 2 shards can only be spread across 2 nodes.

---

<div class="post-metadata">

### Author: ![Debasis\_Mallick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/debasis_mallick/32/123723_2.png) [@Debasis\_Mallick](https://discuss.elastic.co/u/Debasis_Mallick)
#### Post date: [October 18, 2023, 6:24am UTC](https://discuss.elastic.co/t/rebalance-is-not-working-in-elasticsearch/345003/5 "2023-10-18T06:24:52Z")

</div>

Thanks @Christian_Dahlqvist for response. Can you please helps me to understand below two points.

1. If I increase the shard count then the rebalance process will happen automatically or we need to trigger manually.
2. Could you please share me any blog or doc link which I can follow and perform the rebalance.
3. Is there anyway to monitor the progress of rebalance process from Kibana dashboard.

Thanks,  
Debasis

---

<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: [November 15, 2023, 6:25am UTC](https://discuss.elastic.co/t/rebalance-is-not-working-in-elasticsearch/345003/6 "2023-11-15T06:25:51Z")

</div>

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