Re: Autoscaling using triggers to create new replicas

2018-11-27 Thread Daniel Carrasco
Hello, Finally I've found the way to do it. Just limiting the replicas number by node using policies is the trick: curl -X POST -H 'Content-Type: application/json' ' http://localhost:8983/api/cluster/autoscaling' --data-binary '{ "set-cluster-policy": [{"replica": "<2", "shard": "#EACH", "node":

Autoscaling using triggers to create new replicas

2018-11-26 Thread Daniel Carrasco
Hello, I'm trying to create an autoscaling cluster with node_added_trigger and node_lost_trigger triggers to allow to grow and srink depending of load, but I've not found too much info about this options and then only I've archieve is a collection that creates a lot of réplicas on same node when