# Upgrade to 6.x

**URL:** <https://discuss.elastic.co/t/upgrade-to-6-x/154573>\
**Category:** Elasticsearch\
**Created:** [October 30, 2018, 7:29am UTC](https://discuss.elastic.co/t/upgrade-to-6-x/154573 "2018-10-30T07:29:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gphadke](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@gphadke](https://discuss.elastic.co/u/gphadke)\
**Post date:** [October 30, 2018, 7:29am UTC](https://discuss.elastic.co/t/upgrade-to-6-x/154573/1 "2018-10-30T07:29:46Z")

</div>

We are upgrading to ES 6.x from 5.6.7. As the documentation specifies it can be rolling upgrade.  
We are using the transport client and my question is regarding the same.

Can we continue writing/reading data when we have a mix of 5.6.7 and 6.x nodes in the cluster using a transport client compatible with 5.6.7.  
I assume internal communication between ES nodes happens over the transport interface. How does this work in case of 5.6.7 and 6.x nodes in a cluster at the same time?

regards  
Gopal

---

<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:** [October 30, 2018, 7:53am UTC](https://discuss.elastic.co/t/upgrade-to-6-x/154573/2 "2018-10-30T07:53:44Z")

</div>

The rolling upgrade only applies to the server. Not for clients.  
I don't think that will work.

---

<div class="post-metadata">

**Author:** ![gphadke](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@gphadke](https://discuss.elastic.co/u/gphadke)\
**Post date:** [October 30, 2018, 8:58am UTC](https://discuss.elastic.co/t/upgrade-to-6-x/154573/3 "2018-10-30T08:58:48Z")

</div>

So we will need a transport client from 6.x, but ES 5.6.x and ES 6.x nodes can communicate with one another using the either one of the transport interface (5.6.7 or 6.x)?

So if we are using a transport client, the rolling upgrade is not really one for us, as we will have to upgrade all of the nodes before we can start reading/writing?. Please correct me if I am wrong.

regards  
Gopal

---

<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:** [October 30, 2018, 1:27pm UTC](https://discuss.elastic.co/t/upgrade-to-6-x/154573/4 "2018-10-30T13:27:56Z")

</div>

Yes. That's what I think. I never tested it myself so I'd say that depending on the exact APIs you are using it can work but I'd not guarantee that at all...

Note that's the same similar concern with the HL Rest Client as it is designed today.  
But you should definitely switch to this one anyway because the transport client will be removed in the future.

---

<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 27, 2018, 1:33pm UTC](https://discuss.elastic.co/t/upgrade-to-6-x/154573/5 "2018-11-27T13:33:20Z")

</div>

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