解决ES分片未分配的问题

1、定位问题分片: 使用ES的cat API可以分析出未分配的分片信息及未分配的原因 curl -XGETlocalhost:9200/_cat/shards?h=index,shard,prirep,state,unassigned.reason| grepUNASSIGNED 命令返回信息包括索引名称、分片编号、是主分片还是副本分片、未分配原因等 hole  0 P UNASSIGNED CL
相关文章
相关标签/搜索