Describe the issue: I was trying to upgrade the OpenSearch from Version 1.3.x to Opensearch 2.6.0 version
As part of our organization use case, we need to deliver the Install/upgrade/rollback feature. but when we try to downgrade the opensearch from higher version to lower version then we could nt restore the snapshot which has been taken from higher version to lower version
We are getting the below exception when we try to restore the snapshot
> POST "/_snapshot/repository/1/_restore?pretty"
> {
> "error" : {
> "root_cause" : [
> {
> "type" : "snapshot_restore_exception",
> "reason" : "[repository:1/KJHRb6oFRjqlulc5Q_0yOQ] the snapshot was created with OpenSearch version [2.6.0] which is higher than the version of this node [1.3.8]"
> }
> ],
> "type" : "snapshot_restore_exception",
> "reason" : "[repository:1/KJHRb6oFRjqlulc5Q_0yOQ] the snapshot was created with OpenSearch version [2.6.0] which is higher than the version of this node [1.3.8]"
> },
> "status" : 500
> }
Could you please help us to solve this problem. is there any way to avoid this exception.
I understand, Question using 127.0.0.1 OR localhost how do you connect to a remote host?
What I have done to achieve something like this is using an IP Address from the remote host, because 127.0.0.1 /Localhost really doesn’t work when executing commands to a remote destination.
Hi @Gsmitt ,
I’m running both versions of OpenSearch in same machine, but in different ports (1240 and 2700).
So, OpenSearch 1.2.4 can be accessed via localhost:1240 and 127.0.0.1:1240. And OpenSearch 2.7.0 can be accessed via localhost:2700 and 127.0.0.1:2700
I learned that leason long time ago with Elasticsearch-6.0.x, is that you can upgrade major version but difficult to downgrade that major verion of ES and/or OS.
yeah @Gsmitt
I’m trying to achieve that somehow
Reindexing is happening between 1.x versions and between 2.x versions.
And even from 1.x to 2.x.
But it’s not happening from 2.x to 1.x