Hi, Is there any possibility for doing such downgrade without data loss?
I have seen this topic and this one before. but I don't have a snapshot before the 8.15.0 version and tried snapshot of 8.15.0 on elastic cluster version 8.13.4 but I get following error:
{"error":{"root_cause":[{"type":"snapshot_restore_exception","reason":"[my_backup:snapshot_1/iqQ0hbqlSlSnDe7SHZaGfQ] the snapshot was created with version [8.13.4-snapshot[8512000]] which is higher than the version of this node [8.13.0-8.13.3]"}],"type":"snapshot_restore_exception","reason":"[my_backup:snapshot_1/iqQ0hbqlSlSnDe7SHZaGfQ] the snapshot was created with version [8.13.4-snapshot[8512000]] which is higher than the version of this node [8.13.0-8.13.3]"},"status":500}
Thank you for your response. I want to downgrade because spring boot's current version is not fully compatible with latest version of elasticsearch.
I will follow this reindex guide and i hope it works.
Elasticsearch is designed so that older clients can connect to new servers (but not necessarily the reverse).
You should not have any issue using Spring Boot and the 8.13 client against an 8.15 server
@TimV
It connects to Elasticsearch 8.15 successfully, but after I upgraded to this version, the client encounters timeouts after a while. I hope downgrading the server will solve this problem.
example:
org.springframework.dao.DataAccessResourceFailureException: 30,000 milliseconds timeout on connection http-outgoing-2 [ACTIVE]
at org.springframework.data.elasticsearch.client.elc.ElasticsearchExceptionTranslator.translateExceptionIfPossible(ElasticsearchExceptionTranslator.java:111)
at org.springframework.data.elasticsearch.client.elc.ElasticsearchExceptionTranslator.translateException(ElasticsearchExceptionTranslator.java:65)
at org.springframework.data.elasticsearch.client.elc.ElasticsearchTemplate.execute(ElasticsearchTemplate.java:685)
at org.springframework.data.elasticsearch.client.elc.ElasticsearchTemplate.doIndex(ElasticsearchTemplate.java:234)
at org.springframework.data.elasticsearch.core.AbstractElasticsearchTemplate.save(AbstractElasticsearchTemplate.java:203)
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.