# Upgrade of elastic search version

**URL:** <https://discuss.elastic.co/t/upgrade-of-elastic-search-version/301620>\
**Category:** Elasticsearch\
**Tags:** elastic-agent\
**Created:** [April 5, 2022, 10:23am UTC](https://discuss.elastic.co/t/upgrade-of-elastic-search-version/301620 "2022-04-05T10:23:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aman123](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@aman123](https://discuss.elastic.co/u/aman123)\
**Post date:** [April 5, 2022, 10:23am UTC](https://discuss.elastic.co/t/upgrade-of-elastic-search-version/301620/1 "2022-04-05T10:23:50Z")

</div>

hi team,

I have 10 node cluster, I upgraded from 10 nodes to 2 nodes now 1 node is master node . Do I need make master node to other node and then upgrade 1 st node or I can directly upgrade the master node.

---

<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:** [April 5, 2022, 9:40pm UTC](https://discuss.elastic.co/t/upgrade-of-elastic-search-version/301620/2 "2022-04-05T21:40:25Z")

</div>

You can directly upgrade the current master, and when it restarts, another master should be elected.

---

<div class="post-metadata">

**Author:** ![aman123](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@aman123](https://discuss.elastic.co/u/aman123)\
**Post date:** [April 6, 2022, 6:04am UTC](https://discuss.elastic.co/t/upgrade-of-elastic-search-version/301620/3 "2022-04-06T06:04:36Z")

</div>

yes I have other 2 nodes as a master eligible, so if master node go down than any of other 2 node will become master right?

---

<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:** [April 6, 2022, 10:48pm UTC](https://discuss.elastic.co/t/upgrade-of-elastic-search-version/301620/4 "2022-04-06T22:48:11Z")

</div>

Correct.

---

<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:** [May 4, 2022, 10:48pm UTC](https://discuss.elastic.co/t/upgrade-of-elastic-search-version/301620/5 "2022-05-04T22:48:43Z")

</div>

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