Main info: SOLRCloud 7.7.3, Zookeeper 3.4.14

I have a 2 node SOLRCloud installation, 3 zookeeper instances, configured in 
AWS to autoscale. I am currently testing with 9 collections. My issue is that 
when I scale out and a node is added to the SOLRCloud cluster,
I get replication to the new node from only one of the 9 collections.

https://i.imgur.com/xR7PQxf.gif


autoAddReplicas=true for each of the 9 collections.


I have set the following rules:

# maintain 2 replicas of each shard
curl -X POST "http://localhost:8983/solr/admin/autoscaling"; --data-binary \
'{
  "set-cluster-policy": [
    { "replica": "2","shard": "#EACH", "node": "#ANY" }
  ]
}'


# listen for a nodeAdded event and upon 5 seconds of receiving begin 
replicating our existing collection(s) to the new node.
curl -X POST "http://localhost:8983/solr/admin/autoscaling"; --data-binary \
'{
  "set-trigger": {
    "name": "node_added_trigger",
    "event": "nodeAdded",
    "waitFor": "5s",
    "preferredOperation": "ADDREPLICA"
  }
}'



All of the collections were set up identically. What else do I need to do to 
automatically force replication to nodes when they are added to the cluster?

Thanks in advance,
Shane Brooks

Reply via email to