DBAtlas · 数据库运维图谱

查找分片未分配的原因

Elasticsearch维护

命令

GET /_cluster/allocation/explain
{
  "index": "customer",
  "shard": 0,
  "primary": true
}

作用

详细说明特定分片无法分配(unassigned)的原因。

适用场景

在 yellow/red 集群中查找未分配分片的原因时。

注意

只读诊断命令;无风险。

在 DBAtlas 中打开 →

相关内容