# Upgrade 1.3 to 1.4 shard reallocation question

**URL:** <https://discuss.elastic.co/t/upgrade-1-3-to-1-4-shard-reallocation-question/22506>\
**Category:** Elasticsearch\
**Created:** [March 4, 2015, 6:35am UTC](https://discuss.elastic.co/t/upgrade-1-3-to-1-4-shard-reallocation-question/22506 "2015-03-04T06:35:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suresh\_Ramkrishnaiah](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@Suresh\_Ramkrishnaiah](https://discuss.elastic.co/u/Suresh_Ramkrishnaiah)\
**Post date:** [March 4, 2015, 6:35am UTC](https://discuss.elastic.co/t/upgrade-1-3-to-1-4-shard-reallocation-question/22506/1 "2015-03-04T06:35:20Z")

</div>

I had a single node es database on 1.3 and added another node with 1.4 all  
the shards replicated onto the new node but they didn't get reallocated.

Is this the default default behavior?

I am wondering what's the best way to reallocate the shards? or should I  
just terminate the old node so that the new node becomes primary?

Thanks,  
Suresh

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/ba55b528-8d07-4ea9-b862-93e2173d033c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ba55b528-8d07-4ea9-b862-93e2173d033c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 4, 2015, 8:41am UTC](https://discuss.elastic.co/t/upgrade-1-3-to-1-4-shard-reallocation-question/22506/2 "2015-03-04T08:41:55Z")

</div>

It sounds like standard behaviour.

What do expect to happen?

On 4 March 2015 at 17:35, Suresh Ramkrishnaiah [sramkrishnaiah@gmail.com](mailto:sramkrishnaiah@gmail.com)  
wrote:

> I had a single node es database on 1.3 and added another node with 1.4 all  
> the shards replicated onto the new node but they didn't get reallocated.
> 
> Is this the default default behavior?
> 
> I am wondering what's the best way to reallocate the shards? or should I  
> just terminate the old node so that the new node becomes primary?
> 
> Thanks,  
> Suresh
> 
> --  
> 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).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/ba55b528-8d07-4ea9-b862-93e2173d033c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ba55b528-8d07-4ea9-b862-93e2173d033c%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/ba55b528-8d07-4ea9-b862-93e2173d033c%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ba55b528-8d07-4ea9-b862-93e2173d033c%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8wRtE5MA7YAd6J0Q6ew7LZj92LX9hYgmmK%3DoAVfBJGPg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8wRtE5MA7YAd6J0Q6ew7LZj92LX9hYgmmK%3DoAVfBJGPg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Suresh\_Ramkrishnaiah](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@Suresh\_Ramkrishnaiah](https://discuss.elastic.co/u/Suresh_Ramkrishnaiah)\
**Post date:** [March 5, 2015, 1:14am UTC](https://discuss.elastic.co/t/upgrade-1-3-to-1-4-shard-reallocation-question/22506/3 "2015-03-05T01:14:30Z")

</div>

I was expecting some of the shards to relocate to the new node but I can  
understand the reason it didn't happen could be because the versions are  
different.

My assumption (I am going to test this theory) is if all the nodes are on  
the same version then the shards would get distributed across two nodes

PS: My deployment is like two master node with data

On Wednesday, March 4, 2015 at 12:42:25 AM UTC-8, Mark Walkom wrote:

> It sounds like standard behaviour.
> 
> What do expect to happen?
> 
> On 4 March 2015 at 17:35, Suresh Ramkrishnaiah \<[sramkri...@gmail.com](mailto:sramkri...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > I had a single node es database on 1.3 and added another node with 1.4  
> > all the shards replicated onto the new node but they didn't get  
> > reallocated.
> > 
> > Is this the default default behavior?
> > 
> > I am wondering what's the best way to reallocate the shards? or should I  
> > just terminate the old node so that the new node becomes primary?
> > 
> > Thanks,  
> > Suresh
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/ba55b528-8d07-4ea9-b862-93e2173d033c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ba55b528-8d07-4ea9-b862-93e2173d033c%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/ba55b528-8d07-4ea9-b862-93e2173d033c%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ba55b528-8d07-4ea9-b862-93e2173d033c%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/df23b06a-5596-4f35-8f29-ed8563fcdbd4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/df23b06a-5596-4f35-8f29-ed8563fcdbd4%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:28am UTC](https://discuss.elastic.co/t/upgrade-1-3-to-1-4-shard-reallocation-question/22506/4 "2017-07-06T00:28:26Z")

</div>

Closed on July 6, 2017, 12:28am UTC


