ES扩容后报错Can not be imported as a dangling index as index with same name already exists in cluster me

ES集群扩容完成之后,接入数据,启动ES,报错信息如下

ES扩容后报错Can not be imported as a dangling index as index with same name already exists in cluster me

查看ES的报错信息如下:

ES扩容后报错Can not be imported as a dangling index as index with same name already exists in cluster me

kibana上报错:

ES扩容后报错Can not be imported as a dangling index as index with same name already exists in cluster me

原因:是由于扩容之后master节点没有重新分配,导致脑裂造成的。

解决方法:修改elasticsearch.yml,改成es节点/2+1

ES扩容后报错Can not be imported as a dangling index as index with same name already exists in cluster me