All shards failed

前端 未结 3 1585
暗喜
暗喜 2020-12-24 11:20

I was working on elastic search and it was working perfectly. Today I just restarted my remote server (Ubuntu). Now I am searching in my indexes, it is giving me this error.

3条回答
  •  执念已碎
    2020-12-24 11:34

    It is possible on your restart some shards were not recovered, causing the cluster to stay red.
    If you hit:
    http://:9200/_cluster/health/?level=shards you can look for red shards.

    I have had issues on restart where shards end up in a non recoverable state. My solution was to simply delete that index completely. That is not an ideal solution for everyone.

    It is also nice to visualize issues like this with a plugin like:
    Elasticsearch Head

提交回复
热议问题