Hi, we have some issues with restoring old (6.8.13) indices on the latest 8.6.1 version. Restore fails on some shards with these messages :
Caused by: [users/owINpknoTCmTe2kMmzuRhg][[users][25]] org.elasticsearch.index.shard.IndexShardRecoveryException: failed recovery ... 20 more Caused by: [users/owINpknoTCmTe2kMmzuRhg][[users][25]] org.elasticsearch.index.snapshots.IndexShardRestoreFailedException: restore failed ... 18 more Caused by: java.lang.IllegalStateException: Maximum sequence number [117122753] from last commit does not match global checkpoint [117122751]
the same snapshot restores without a problem on a 7.X cluster. Is there any possibility of restoring this as we want to reindex this data on 8.X
Elasticsearch can only read indices one major version back. Elasticsearch 8.x can therefore only read indices created in Elasticsearch 7.0 or newer. You will need to restore your 6.x indices into a 7.x cluster and reindex before the new indices can be snapshotted and restored into Elasticsearch 8.x.
I'm using the trial license for testing this and there are no license complaints or warnings. Smaller indices with fever shards are restoring without any issues, only the ones with 100+ shards are having issues on single shards. That's why I thought its a code issue rather than a license.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.