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"
}
}
]
}