ES 未分片 导致集群状态飘红

GET /_cluster/allocation/explain

ALLOCATION_FAILED:由于分片分配失败而未分配。

CLUSTER_RECOVERED:由于集群恢复而未分配。

DANGLING_INDEX_IMPORTED:由于导入了悬空索引导致未分配。

EXISTING_INDEX_RESTORED:由于恢复为已关闭的索引导致未分配。

INDEX_CREATED:由于API创建索引而未分配。

INDEX_REOPENED:由于打开已关闭索引而未分配。

NEW_INDEX_RESTORED:由于恢复到新索引而未分配。

NODE_LEFT:由于托管的节点离开集群而未分配。

REALLOCATED_REPLICA:确定了更好的副本位置,并导致现有副本分配被取消。

REINITIALIZED:当分片从开始移动回初始化,导致未分配。

REPLICA_ADDED:由于显式添加副本而未分配。

REROUTE_CANCELLED:由于显式取消重新路由命令而未分配。

ES Cluster State Red - cannot allocate because allocation is not permitted to any of the nodes that hold an in-sync shard copy - Elasticsearch - Discuss the Elastic Stack

GET _cat/indices?v&health=red

重新分配失败的分片

POst /_cluster/reroute?retry_failed

相关推荐
Elasticsearch3 小时前
Elasticsearch ES|QL:现已支持视图、子查询和读取时模式定义
elasticsearch
Elasticsearch3 天前
Kibana 中的 SNMP 拓扑数据:从采集到 Canvas
elasticsearch
大大大大晴天3 天前
Hudi技术内幕:RecordPayload到RecordMerger
大数据
SelectDB4 天前
秒级弹性、最高降本 70%:SelectDB Serverless 如何重塑云数仓资源效率
大数据·后端·云原生
WhoAmI4 天前
MapReduce框架原理解析一:InputFormat
大数据·hadoop
WhoAmI4 天前
MapReduce框架原理解析三:OutputFormat
大数据·hadoop
WhoAmI4 天前
MapReduce框架原理解析二:Shuffle
大数据·hadoop
大大大大晴天5 天前
Hudi技术内幕:Key Generation原理与实践
大数据
Elasticsearch5 天前
3个信号、2个环境变量、0个采集器:使用 Python 和 Elastic 的托管 OTLP 端点实现 OpenTelemetry
elasticsearch