# Rolling upgrade from ES 6.8 to ES 7.9

**URL:** <https://discuss.elastic.co/t/rolling-upgrade-from-es-6-8-to-es-7-9/250344>\
**Category:** Elasticsearch\
**Created:** [September 29, 2020, 11:15am UTC](https://discuss.elastic.co/t/rolling-upgrade-from-es-6-8-to-es-7-9/250344 "2020-09-29T11:15:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amishar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amishar/32/76363_2.png) [@amishar](https://discuss.elastic.co/u/amishar)\
**Post date:** [September 29, 2020, 11:15am UTC](https://discuss.elastic.co/t/rolling-upgrade-from-es-6-8-to-es-7-9/250344/1 "2020-09-29T11:15:15Z")

</div>

While performing rolling upgrade from 6.8 to 7.9, the documentation suggest that cluster continue to operate in backward compatibility mode until all nodes are upgraded to newer version. How do we avoid issues with newer version that will only be surfaced once the rolling upgrade is complete(all nodes on newer version) and we are no longer running in backward compatibility mode? At that point we have no option to rollback without a standby hot cluster.

---

<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:** [September 29, 2020, 11:17am UTC](https://discuss.elastic.co/t/rolling-upgrade-from-es-6-8-to-es-7-9/250344/2 "2020-09-29T11:17:27Z")

</div>

Have you tested the upgrade on a test cluster?

---

<div class="post-metadata">

**Author:** ![amishar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amishar/32/76363_2.png) [@amishar](https://discuss.elastic.co/u/amishar)\
**Post date:** [September 29, 2020, 11:40am UTC](https://discuss.elastic.co/t/rolling-upgrade-from-es-6-8-to-es-7-9/250344/3 "2020-09-29T11:40:58Z")

</div>

Hi Christian, the intent of the question is to understand the behavior of Elasticsearch before and after the last node is upgraded to higher version during the rolling upgrade. What is the nature of the switch in behavior after the last node upgrade? Usually, If we don't see any problem after most nodes are upgraded, we are reasonably confident and continue on with the upgrade but this assumption breaks if we are only running in backward compatibility mode and there could be surprise break after the last node is updated.

---

<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:** [September 29, 2020, 1:03pm UTC](https://discuss.elastic.co/t/rolling-upgrade-from-es-6-8-to-es-7-9/250344/4 "2020-09-29T13:03:13Z")

</div>

> [@amishar](#):
>
> At that point we have no option to rollback without a standby hot cluster.

TBC at _no_ point do you really have an option to roll back. As soon as you start the upgrade you are committing to completing it. [You must test the upgrade in an isolated environment first!](https://www.elastic.co/guide/en/elasticsearch/reference/current/rolling-upgrades.html#_preparing_to_upgrade)

As long as your 6.x cluster is not logging any deprecation warnings, you shouldn't have any problems when moving to 7.x. The "backward compatibility mode" the docs mention is really just how we describe this constraint:

> Nodes running the previous major version will not be allowed to join the fully-updated 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:** [October 27, 2020, 1:03pm UTC](https://discuss.elastic.co/t/rolling-upgrade-from-es-6-8-to-es-7-9/250344/5 "2020-10-27T13:03:19Z")

</div>

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