Elasticsearch Upgrade to 6.2.3 from 2.3.1

I have read the documentation about upgrading elasticsearch to the latest 6.2.

Can someone let me know if my below understanding is correct ?

  1. We can do full cluster upgrade to 5.6 from 2.3.1. There is no need of reindexing if we continue to use elasticsearch 5.6.1.
  2. To move to 6.2 after doing the Step 1 as mentioned above we can do reindex in place all the indices in 5.6.1 and rename the indices and do a rolling upgrade to 6.2.

Anyone any thoughts ?

That sounds correct.

However, if the end game is to upgrade to the latest and greatest version of 6.x and if you have the spare resources to do so another option is you could build a new 6.x cluster and re-index directly from the 2.x cluster using reindex from remote. This removes the need to do the upgrade to 5.x, but all depends on if you have the capacity to build an additional cluster.

Docs on reindex from remote: https://www.elastic.co/guide/en/elasticsearch/reference/6.2/reindex-upgrade-remote.html

Cheers,
Tom

1 Like

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