Snapshot Restore times out thogh specified wait_for_completion


(ajay.bh111) #1

I am using following command to restore indices from a snapshot taken on
cluster to another (which was successfully completed). However the
following command fails within 30s though specified wait_for_completion. Is
there another parameter that needs to be specified or some configuration
setting ? Snapshot is about 10GB.

curl -XPOST "localhost:9200/snapshot/backup/snapshot_1/restore?
wait_for_completion=true&pretty" -d '{
"indices": "alpha_apps,alpha_tags,alpha",
"ignore_unavailable": "true",
"include_global_state": false,
"rename_pattern": "index
(.+)",
"rename_replacement": "restored_index
$1" }'
{
"error" : "ProcessClusterEventTimeoutException[failed to process cluster
event (restore_snapshot[snapshot_1]) within 30s]
",
"status" : 503
}

Thanks
Ajay

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7ba5d8ec-da06-4177-8426-537422ffd9c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2