elasticsearch 动态增加副本

动态调整副本数

PUT /ptt-new-2018-11/_settings
{
"number_of_replicas": 2
}

重建索引,

增加节点后要重建索引。

日志报错为网络读写错误。

write and flush on the network layer failed

原文地址:https://www.cnblogs.com/net2817/p/9892908.html