# Order of upgrading client and upgrading cluster?

**URL:** <https://discuss.elastic.co/t/order-of-upgrading-client-and-upgrading-cluster/207679>\
**Category:** Elasticsearch\
**Created:** [November 13, 2019, 10:22am UTC](https://discuss.elastic.co/t/order-of-upgrading-client-and-upgrading-cluster/207679 "2019-11-13T10:22:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![111222](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111222/32/57595_2.png) [@111222](https://discuss.elastic.co/u/111222)\
**Post date:** [November 13, 2019, 10:22am UTC](https://discuss.elastic.co/t/order-of-upgrading-client-and-upgrading-cluster/207679/1 "2019-11-13T10:22:58Z")

</div>

I'm going to upgrade my 6.8.2 cluster to 7.4.1 and also rest high level client.  
There might be a time window when client version and cluster version are different:

- client 6.8.2 with cluster 7.4.1, if I upgrade cluster first.
- client 7.4.1 with cluster 6.8.2, if I upgrade client first.

Which one is supported regarding compatibility?

---

<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:** [November 13, 2019, 11:40am UTC](https://discuss.elastic.co/t/order-of-upgrading-client-and-upgrading-cluster/207679/2 "2019-11-13T11:40:36Z")

</div>

The [docs](https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-high-compatibility.html) say:

> The client should always be updated last, once all of the nodes in the cluster have been upgraded to the new major version.

As long as your usage of the 6.8.2 client avoids all [deprecated features](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/logging.html#deprecation-logging) it will continue to work against a 7.4.1 cluster.

---

<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:** [December 11, 2019, 11:40am UTC](https://discuss.elastic.co/t/order-of-upgrading-client-and-upgrading-cluster/207679/3 "2019-12-11T11:40:48Z")

</div>

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