repository-s3 plugin breaking changes in 5.4.0: can't see oldest snapshots #30170
Labels
:Distributed Coordination/Snapshot/Restore
Anything directly related to the `_snapshot/*` APIs
feedback_needed
Elasticsearch version (
bin/elasticsearch --version
):Version: 5.4.3, Build: eed30a8/2017-06-22T00:34:03.743Z, JVM: 1.8.0_171
Plugins installed: []
repository-s3
JVM version (
java -version
):java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
OS version (
uname -a
if on a Unix-like system):Linux ip-10-0-6-252 4.4.0-1052-aws #61-Ubuntu SMP Mon Feb 12 23:05:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
We have ES 5.2, make snapshot per index everyday and store them to S3.
Now we prepare migration to ES 6.2 and find next issue: ES 6.2 didn't see ES 5.2 S3 snapshots.
Within 5 days of debug, I found next things:
ES 5.4.0 and newest:
ES 5.3.3 and oldest:
looks like something goes wrong on split AWS Cloud plugin to 2 plugins (
git diff 65e26e66dad..eed30a8e9bb plugins/repository-s3/
)Steps to reproduce:
AWS
EC2 instance:
cloud: aws: access_key: XXX secret_key: XXXXXX s3: signer: S3SignerType path.repo: ["/home/ubuntu/local_backup"] path: data: /home/ubuntu/elasticsearch-5.2.0/data
Also you need export
ES_PATH_CONF
like thisexport ES_PATH_CONF=/home/ubuntu/elasticsearch-5.2.0
Using
curl localhost:9200/_snapshot/s3_elastic_lo/_all
andcurl localhost:9200/_snapshot/local_backup/_all
The text was updated successfully, but these errors were encountered: