# Some confusion about rebalance and allocation

**URL:** https://discuss.elastic.co/t/some-confusion-about-rebalance-and-allocation/223622
**Category:** Elasticsearch
**Created:** [March 14, 2020, 4:06pm UTC](https://discuss.elastic.co/t/some-confusion-about-rebalance-and-allocation/223622 "2020-03-14T16:06:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![KellyK313](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@KellyK313](https://discuss.elastic.co/u/KellyK313)
#### Post date: [March 14, 2020, 4:06pm UTC](https://discuss.elastic.co/t/some-confusion-about-rebalance-and-allocation/223622/1 "2020-03-14T16:06:36Z")

</div>

I'm got confuse about `cluster.routing.allocation.enable` and `cluster.routing.rebalance.enable`  
(1)if I set  
`cluster.routing.allocation.enable` = `none`  
`cluster.routing.rebalance.enable` = `all`  
still no rebalance will happen?  
(2)can I think rebalance is allocation's submodule?  
I have no environment to verify ,hope somebody tell me.

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [March 14, 2020, 8:26pm UTC](https://discuss.elastic.co/t/some-confusion-about-rebalance-and-allocation/223622/2 "2020-03-14T20:26:45Z")

</div>

That's correct, rebalancing involves allocating shards so if shard allocation is disabled then no rebalancing will occur.

---

<div class="post-metadata">

### Author: ![KellyK313](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@KellyK313](https://discuss.elastic.co/u/KellyK313)
#### Post date: [March 15, 2020, 12:49am UTC](https://discuss.elastic.co/t/some-confusion-about-rebalance-and-allocation/223622/3 "2020-03-15T00:49:54Z")

</div>

thank you so much!

---

<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: [April 12, 2020, 12:49am UTC](https://discuss.elastic.co/t/some-confusion-about-rebalance-and-allocation/223622/4 "2020-04-12T00:49:56Z")

</div>

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