# RollingUpgrade Opensearch

**URL:** <https://forum.opensearch.org/t/rollingupgrade-opensearch/26881>\
**Category:** DevOps\
**Created:** [September 6, 2025, 11:12am UTC](https://forum.opensearch.org/t/rollingupgrade-opensearch/26881 "2025-09-06T11:12:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SadDE](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@SadDE](https://forum.opensearch.org/u/SadDE)\
**Post date:** [September 6, 2025, 11:12am UTC](https://forum.opensearch.org/t/rollingupgrade-opensearch/26881/1 "2025-09-06T11:12:25Z")

</div>

**Hi everyone!**

Could someone please help me? Maybe someone has already encountered a similar issue?

Currently, my cluster consists of 10 nodes:

- datanode1 version 2.19.0

- datanode2 version 2.19.0

- datanode3 version 2.19.0

- datanode4 version 2.19.0

- datanode5 version 2.19.0

- datanode6 version 2.19.0

- datanode7 version 2.19.0

- datanode8 version 2.19.0

- coordinatornode version 2.19.0

- masternode version 2.19.0

I want to perform a Rolling Upgrade of my cluster to version 3.1.0 and maintain index availability.

However, after I start upgrading the first node:

- datanode1 version 3.1.0 \<----- This node

- datanode2 version 2.19.0

- datanode3 version 2.19.0

- datanode4 version 2.19.0

- datanode5 version 2.19.0

- datanode6 version 2.19.0

- datanode7 version 2.19.0

- datanode8 version 2.19.0

- coordinatornode version 2.19.0

- masternode version 2.19.0

The indices receive “unassigned shards” status.

**Question:** Are indices from version 2.19.0 and 3.1.0 compatible within the same cluster? If yes, how can I achieve this?

Thank you!

---

<div class="post-metadata">

**Author:** ![merlinz01](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@merlinz01](https://forum.opensearch.org/u/merlinz01)\
**Post date:** [September 11, 2025, 2:06pm UTC](https://forum.opensearch.org/t/rollingupgrade-opensearch/26881/2 "2025-09-11T14:06:03Z")

</div>

Have you re-enabled shard replication after restarting the updated node?

```json
PUT "/_cluster/settings?pretty"
{
    "persistent": {
        "cluster.routing.allocation.enable": "all"
    }
}

```

After you do that it can take a while until the shard are redistributed and the cluster status is green.

If that doesn’t work I would guess that the unassigned shards status is to be expected until all nodes are on the same major version.

Rolling upgrades are supported between adjacent major versions, in this case 2 and 3. Make sure you have backups in case something gets messed up.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/3/33547ea01a5b12dcca2958411d3edd97ae2ea8c1.png) [@system](https://forum.opensearch.org/u/system)\
**Post date:** [November 10, 2025, 2:06pm UTC](https://forum.opensearch.org/t/rollingupgrade-opensearch/26881/3 "2025-11-10T14:06:59Z")

</div>

Closed on November 10, 2025, 2:06pm UTC

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