failed to obtain in-memory shard lock-CSDN博客

网站介绍:文章浏览阅读1.4k次,点赞3次,收藏4次。问题原因:出现这个问题的原因是原有分片未正常关闭和清理,所以当分片要重新分配回出问题节点的时候没有办法获得分片锁。这不会造成分片数据丢失,只需要重新触发一下分配恢复指令curl -XPOST http://localhost:9200/_cluster/reroute?retry_failed查看详情curl -XGET http://localhost:9200/_cluster/allocation/explain..._failed to obtain in-memory shard lock