Hello,
We're having some troubles here with our elasticseach cluster. The cluster is made with 10 nodes, under Debian Jessie with elasticsearch 2.3.4
I'm trying to restore an index with the following command, on one of the 10 nodes.
curl -XPOST "http://localhost:9200/_snapshot/es_backup/es-backup-sno/_restore" -d '{"indices": "index-20160718"}'
The command return this error :
{"error":{"root_cause":[{"type":"concurrent_snapshot_execution_exception","reason":"[es_backup:es-backup-sno] Restore process is already running in this cluster"}],"type":"concurrent_snapshot_execution_exception","reason":"[es_backup:es-backup-sno] Restore process is already running in this cluster"},"status":503}
It looks like a restore is already running. We thinks there an old restore running, with an non existent snapshot (remove in the past), on non existent indexes (remove in the past two).
The command curl -s 'http://localhost:9200/_cluster/state' | jq '.restore'
return a restore, using the non existent snapshot on the non existent indexes (yes it's kind a mess...).
es-backup-20160708 is the old snapshot, the old indexes are the index-201605*, shard are in FAILURE state.
{ "snapshots": [ { "snapshot": "es-backup-20160708", "repository": "es_backup", "state": "STARTED", "indices": [ ... "shards": [ { "index": "index-20160527", "shard": 2, "state": "FAILURE" },
We don't know how to kill this running restore, maybe there a tip to do that ?
Thanks,