elasticsearch 子节点有Unassigned Shards处理方法 和 failed to obtain in-memory shard lock
1、查找原因,找到未知道的node,shard
http://localhost:9200/_cluster/allocation/explain?pretty
POST /_cluster/reroute?retry_failed=true
{
"commands" : [
{
"allocate_replica" : {
"index" : "myindex",
"shard" : 1,
"node" : "mynode"
}
}
]
}
posted on 2019-06-14 18:05 zhangfeitaimengle 阅读(1156) 评论(0) 收藏 举报