Upgrade from 2.1 to 5.x

Hi All,

I am planning to upgrade from 2.1 to 5.x.

  1. I want to decide on 5.x version and I can see that 5.2.2 is the latest version available as of now. what are the factors that i need to consider on deciding a version in 5.x. can i directly go with 5.2.2 assuming it is best among 5.x versions?

  2. The migration plugin Elasticsearch Migration Helper v2.0.4 works with only 2.3.x and 2.4.x.
    Does this mean, i have migrate from 2.1 to 2.3.x (or 2.4.x) and then migrate from 2.3.x (or 2.4.x) to 5.x
    or can i directly migrate from 2.1 to 5.x
    How can i check with the help of migration helper if there are any issues with 2.1 to 5.x upgrade

https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html

You need to upgrade to 2.4.4 before.

Otherwise you can use reindex from remote API to read the old cluster and reindex in the new one.

According to below link, it says remote reindex is required from 1.x to 5.x and doesnt specify reindexing for 2.x-5.x and only the migration plugin doesnt work with 2.1

https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html

can any else clarify if remote reindexing is really required for upgrade from 2.1 to 5.x ?

It's not required.

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