介绍
介绍
分片分配shared allocation
关闭分片分配
{
"transient": {
"cluster.routing.allocation.enable": "none"
}
}开启分片分配
{
"transient": {
"cluster.routing.allocation.enable": "all"
}
}重启
重启集群步骤
停止数据操作
关闭分片分配
重启节点
开启分片分配
等待集群health变成绿色
开始数据操作