From 18d1fdba41480fe7082787816445688cceaf9bfa Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Thu, 18 Apr 2024 13:13:02 -0400 Subject: [PATCH 1/2] [BUG] Cannot restore ES 6.x index into OpenSearch 2.x but the migration doc says it should work Signed-off-by: Andriy Redko --- _upgrade-to/snapshot-migrate.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_upgrade-to/snapshot-migrate.md b/_upgrade-to/snapshot-migrate.md index 60f3d309dd..9298519587 100644 --- a/_upgrade-to/snapshot-migrate.md +++ b/_upgrade-to/snapshot-migrate.md @@ -9,3 +9,9 @@ nav_order: 5 One popular approach is to take a [snapshot]({{site.url}}{{site.baseurl}}/opensearch/snapshots/snapshot-restore) of your Elasticsearch OSS 6.x or 7.x indexes, [create an OpenSearch cluster]({{site.url}}{{site.baseurl}}/opensearch/install/), restore the snapshot on the new cluster, and point your clients to the new host. The snapshot approach can mean running two clusters in parallel, but lets you validate that the OpenSearch cluster is working in a way that meets your needs prior to modifying the Elasticsearch OSS cluster. + +Elasticsearch OSS version | Snapshot migration path +:--- | :--- +5.x | Upgrade to 5.6, upgrade to 6.8, reindex all 5.x indexes, make snapshot and restore in OpenSearch 1.x. +6.x | Make a snapshot and restore in OpenSearch 1.x +7.x | Make a snapshot and restore in OpenSearch 1.x or OpenSearch 2.x From 90c8597203b7358463a2c638bbb26da63a762dec Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Fri, 19 Apr 2024 11:44:24 -0400 Subject: [PATCH 2/2] Update _upgrade-to/snapshot-migrate.md Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Signed-off-by: Andriy Redko --- _upgrade-to/snapshot-migrate.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_upgrade-to/snapshot-migrate.md b/_upgrade-to/snapshot-migrate.md index 9298519587..59ca58c3bf 100644 --- a/_upgrade-to/snapshot-migrate.md +++ b/_upgrade-to/snapshot-migrate.md @@ -12,6 +12,6 @@ The snapshot approach can mean running two clusters in parallel, but lets you va Elasticsearch OSS version | Snapshot migration path :--- | :--- -5.x | Upgrade to 5.6, upgrade to 6.8, reindex all 5.x indexes, make snapshot and restore in OpenSearch 1.x. +5.x | Upgrade to 5.6, then upgrade to 6.8. Reindex all 5.x indexes, make a snapshot, and restore in OpenSearch 1.x. 6.x | Make a snapshot and restore in OpenSearch 1.x 7.x | Make a snapshot and restore in OpenSearch 1.x or OpenSearch 2.x