ES upgrade from 5.6 to 8.7

Hi All,

I am planning to upgrade the Elasticsearch from 5.6 to 8.7, I wanted to seek suggestions to see if it is a good idea to go directly from 5.6 to 8.7, or do a roll upgrade, application is built on Django and uses PostgreSQL for database.

Regards,
Salim

The only way to do a direct update would be to reindex your data into a new cluster running the new version. Upgrading in place would require you to upgrade one major version at a time (5.6 to 6.8 to 7.17 to 8.7) and run the migration assistant and reindex the data at each version. When making this kind of large jump it is often easier to create a new cluster with new config and mappings (a lot has changed between versions) and then reindex the data from the existing cluster. You probably also need to change or upgrade client libraries so downtime will be required.

1 Like

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