Elasticsearch 7.x 分片问题

Unassigned shards

查看原因

GET _cat/shards?v&h=index,shard,prirep,state,unassigned.reason
GET _cluster/allocation/explain?pretty
  • 查看磁盘水位线
GET _cluster/settings?include_defaults

Elasticsearch 7.x 分片问题_第1张图片

重新分配

  • 尝试重新分配
POST /_cluster/reroute?retry_failed=true
本文出自 qbit snap

你可能感兴趣的:(elasticsearch)