Increase node recovery speed
PUT http://es:9200/_cluster/settings
{
"persistent" : {
"indices.recovery.max_bytes_per_sec": "200mb",
"indices.recovery.max_concurrent_file_chunks": 5,
"cluster.routing.allocation.node_concurrent_recoveries" : 5
}
}
{
"persistent" : {
"indices.recovery.max_bytes_per_sec": "200mb",
"indices.recovery.max_concurrent_file_chunks": 5,
"cluster.routing.allocation.node_concurrent_recoveries" : 5
}
}
Links:
https://www.elastic.co/guide/en/elasticsearch/reference/current/shards-allocation.html
https://www.elastic.co/guide/en/elasticsearch/reference/current/recovery.html