-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Description
I am getting the following exception while doing a restoration
curl -XPOST "http://hostname1:9200/_snapshot/snapshot_restore_repo/snapshot_07_12_15_17_08_56/_restore"
{"error":"RemoteTransportException[[hostname2][inet[/ipaddress:9300]][cluster:admin/snapshot/restore]]; nested: ConcurrentSnapshotExecutionException[[snapshot_restore_repo:snapshot_07_12_15_17_08_56] Restore process is already running in this cluster]; ","status":503}-bash-4.1$
Cluster state is shown below
GET _cluster/state
"restore": {
"snapshots": [
{
"snapshot": "snapshot_07_12_15_17_08_56",
"repository": "snapshot_restore_repo",
"state": "STARTED",
"indices": [
"indexname"
],
"shards": [
{
"index": "indexname",
"shard": 0,
"state": "SUCCESS"
},
{
"index": "indexname",
"shard": 1,
"state": "SUCCESS"
},
{
"index": "indexname",
"shard": 2,
"state": "INIT"
},
{
"index": "indexname",
"shard": 3,
"state": "SUCCESS"
},
{
"index": "indexname",
"shard": 4,
"state": "SUCCESS"
}
]
}
]
}
How to come out of "INIT" and complete restoration