Migration from ES2.1 to ES6.4



I have to migrate from ES2.1 to ES6.4. I have an index with ~450 million documents.

Could anyone give me a hint on how to do it ?

Many thanks

(Alexander Reelsen) #2


you cannot directly upgrade to 6.4, as the data cannot be read due to two major version upgrades (2.x to 5.x to 6.x). Also there are breaking changes in between that you need to cater for.

You basically have two possibilities.

  1. Upgrading to latest 5.x first, ensure everything works on 5.x, then go to 6.x from there - and of course ensuring all your clients keep working as expected.
  2. Running a parallel 6.x cluster and reindex from 2.x into 6.x, either using the reindex API or have some custom tooling doing that. You could run both clusters in parallel and have infrastructure to index into both clusters, and then switch over your consumers one by one to the new cluster.


(system) #3

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