# Reverting to previous version for just one node in the cluster

**URL:** <https://discuss.elastic.co/t/reverting-to-previous-version-for-just-one-node-in-the-cluster/110877>\
**Category:** Elasticsearch\
**Created:** [December 8, 2017, 4:57pm UTC](https://discuss.elastic.co/t/reverting-to-previous-version-for-just-one-node-in-the-cluster/110877 "2017-12-08T16:57:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![animageofmine](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@animageofmine](https://discuss.elastic.co/u/animageofmine)\
**Post date:** [December 8, 2017, 4:57pm UTC](https://discuss.elastic.co/t/reverting-to-previous-version-for-just-one-node-in-the-cluster/110877/1 "2017-12-08T16:57:06Z")

</div>

It looks like we upgraded one of the nodes in the cluster to higher version by mistake. This seems to be causing issues. I understand that you can't revert back to older version, especially given that lucene version was also updated. Hence, I was wondering how can we fix just one node (we always keep 2 replicas, so taking one node out might not be that big of a deal).

All nodes in the cluster have version: 5.3.2  
New node has version: 5.4.0

Your help will be very much appreciated. Thank you.

---

<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:** [December 8, 2017, 6:13pm UTC](https://discuss.elastic.co/t/reverting-to-previous-version-for-just-one-node-in-the-cluster/110877/2 "2017-12-08T18:13:32Z")

</div>

Reverting is not supported. It might work though if absolutely nothing happened on the cluster in the meantime (no merge, no index operation, ...)

Why not upgrading all the nodes? And to 5.6 so you'll be almost ready for elasticsearch 6.0...

---

<div class="post-metadata">

**Author:** ![animageofmine](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@animageofmine](https://discuss.elastic.co/u/animageofmine)\
**Post date:** [December 8, 2017, 6:45pm UTC](https://discuss.elastic.co/t/reverting-to-previous-version-for-just-one-node-in-the-cluster/110877/3 "2017-12-08T18:45:48Z")

</div>

Upgrading all nodes to newer version might lead to more API work (we use elastic4s scala library).

- Is there a way to check if there were no merge / index operations on the cluster?
- If I just delete data (there are no unassigned shards) on the node with newer version and reboot the node with 5.3.2 version (to match other nodes), would that work?

---

<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:** [December 8, 2017, 7:49pm UTC](https://discuss.elastic.co/t/reverting-to-previous-version-for-just-one-node-in-the-cluster/110877/4 "2017-12-08T19:49:05Z")

</div>

I don't know for both questions.

---

<div class="post-metadata">

**Author:** ![animageofmine](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@animageofmine](https://discuss.elastic.co/u/animageofmine)\
**Post date:** [December 8, 2017, 11:07pm UTC](https://discuss.elastic.co/t/reverting-to-previous-version-for-just-one-node-in-the-cluster/110877/5 "2017-12-08T23:07:34Z")

</div>

Scary!

---

<div class="post-metadata">

**Author:** ![animageofmine](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@animageofmine](https://discuss.elastic.co/u/animageofmine)\
**Post date:** [December 12, 2017, 2:44am UTC](https://discuss.elastic.co/t/reverting-to-previous-version-for-just-one-node-in-the-cluster/110877/6 "2017-12-12T02:44:20Z")

</div>

FYI: I was able to delete data on node with version 5.4.2 and reboot with older version. Had to clean up a bunch of unassigned shards, but worked out well. Kind of scary to try this on production, but thankfully it worked. Thought of sharing it just in case it helps someone else.

---

<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:** [January 9, 2018, 2:44am UTC](https://discuss.elastic.co/t/reverting-to-previous-version-for-just-one-node-in-the-cluster/110877/7 "2018-01-09T02:44:23Z")

</div>

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