Upgrade Elasticsearch from 6.8 to 7

We have 7 ES clusters (each having 3 nodes) running in production on the 6.8 version. We are planning to upgrade them to 7 and then eventually to 8. We have 2 options

  1. Upgrade versions on node one by one (rolling upgrade)
  2. Copy data from the old version cluster to the new version and then use the updated version in the code once all data is migrated.

In both options, we will have to handle 2 versions of ES in the application. We are using java spring data. How can we use 2 versions of ES and also which option will best suited for us?
Let me know if you need any more details.
Thanks in advance!

I think indices from 6.x will have to be reindexed to work on 8.x, so you just as well build 8.x and do remote reindex.

1 Like

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