Hi,
I am restoring an index data-jun-2017
from a snapshot . Somewhere in my application they had used templates to create index based on month pattern so eventhough i am deleting it , it is not getting deleted . So, i closed that index and did restoring operation like this:
POST /_snapshot/elastic_backup/snapshot-2017-06-29/_restore
{
"indices": "data-jun-2017"
}
And i got 50 Warnings like this in logs
[2017-07-11 11:59:59,292][WARN ][rest.suppressed ] path: /data-jun-2017/content/2191496543022135835/_update, params: {scripted_upsert=true, index=data-jun-2017, id=2191496543022135835, type=content, retry_on_conflict=5}
UnavailableShardsException[[data-jun-2017][4] [1] shardIt, [0] active : Timeout waiting for [1m], request: indices:data/write/update]
at org.elasticsearch.action.support.single.instance.TransportInstanceSingleOperationAction$AsyncSingleAction.retry(TransportInstanceSingleOperationAction.java:213)
at org.elasticsearch.action.support.single.instance.TransportInstanceSingleOperationAction$AsyncSingleAction.doStart(TransportInstanceSingleOperationAction.java:168)
at org.elasticsearch.action.support.single.instance.TransportInstanceSingleOperationAction$AsyncSingleAction$2.onTimeout(TransportInstanceSingleOperationAction.java:234)
at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:236)
at org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(InternalClusterService.java:804)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
What is this actually mean ? Because i lost some documents when i am doing this. Another unusual thing is when i restored to a different index name it is showing all the documents .
Thanks