jawlit patel created SOLR-14235:
-----------------------------------

             Summary: Node lost event does not delete all replicas from the 
nodes are being deleted 
                 Key: SOLR-14235
                 URL: https://issues.apache.org/jira/browse/SOLR-14235
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 7.7.2
            Reporter: jawlit patel


Hello,

 

Node lost event does not delete all replicas from the nodes are being deleted 
when a higher number of collections & replicas. This is really blocking a 
implementation of solr on autoscaling group where nodes are being added & 
remove. I have added the following policies

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

curl -X POST "http://localhost:8983/solr/admin/autoscaling"; --data-binary \
'{
 "set-trigger": {
 "name": "node_added_trigger",
 "event": "nodeAdded",
 "waitFor": "5s",
 "preferredOperation": "ADDREPLICA"
 }
}'

curl -X POST "localhost:8983/solr/admin/autoscaling" --data-binary \
'{
 "set-trigger": {
 "name": "node_lost_trigger",
 "event": "nodeLost",
 "waitFor": "600s",
 "preferredOperation": "DELETENODE"
 }
}'



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to