我的群集处于黄色状态,因为某些分片未分配.该怎么办?
我尝试设置cluster.routing.allocation.disable_allocation = false所有索引,但我认为这不起作用,因为我使用的是1.1.1版本.
我也尝试重新启动所有机器,但同样的情况发生了.
任何的想法?
编辑:
群集统计:
{
cluster_name: "elasticsearch",
status: "red",
timed_out: false,
number_of_nodes: 5,
number_of_data_nodes: 4,
active_primary_shards: 4689,
active_shards: 4689,
relocating_shards: 0,
initializing_shards: 10,
unassigned_shards: 758
}
Run Code Online (Sandbox Code Playgroud)