亲,只收二进制

新建索引时的日志问题

Elasticsearch | 作者 redhat | 发布于2018年08月10日 | 阅读数:2620

[2018-08-10 16:09:29,467][INFO ][cluster.metadata         ] [node-1] [test20180810] creating index, cause [api], templates [], shards [5]/[1], mappings []
[2018-08-10 16:09:29,638][INFO ][cluster.routing.allocation] [node-1] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[test20180810][0], [test20180810][4], [test20180810][0]] ...]).​
新建一个索引时,es的日志里有这些内容,其中:
Cluster health status changed from [RED] to [YELLOW]
请问这是什么原因呀?还以为是集群有问题了
已邀请:

laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net

赞同来自:

这是分片分配的过程中发生的问题,
集群最终的状态要看最终分配情况。
red代表:集群中某个主分片丢失或者分配错误;
yellow代表:集群中的存在未分配的副本分片。
集群启动是有个分配过程的,你看到的日志就是其分配的中间阶段。

要回复问题请先登录注册