Restoring an index results in WARNING?


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.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(
        at org.elasticsearch.cluster.service.InternalClusterService$
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$

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 .


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.