三人行必有我师

initializing shards

Elasticsearch | 作者 cht | 发布于2019年03月07日 | 阅读数:7505

集群经常出现黄色initializing 分片,通过explain 接口查看是由于以下原因,bulk成功写入主分片,但是同步到从分片时网络问题。 求有经验的同学分享下。

details" : "failed to perform indices:data/write/bulk[s] on replica [search][101], node[Y0ZrWcgOQUumxwECfvrpQA], [R], s[STARTED], a[id=rqPeXRUXRGihA8NEoihuDA], failure NodeDisconnectedException[[xxxxxxxxxxx][xxxxxxxxxxx:9300][indices:data/write/bulk[s][r]] disconnected]
已邀请:

rochy - rochy_he

赞同来自:

 failure NodeDisconnectedException
看起来是节点连接不稳定 ,请排查是否存在网络问题或者长 GC 等问题

zqc0512 - andy zhou

赞同来自:

replication change to  async  and try again.
 

要回复问题请先登录注册