[ 
https://issues.apache.org/jira/browse/SOLR-15014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gus Heck updated SOLR-15014:
----------------------------
    Attachment: Screen Shot 2020-11-23 at 11.40.29 AM.png

> Runaway replica creation with autoscaling example from ref guide
> ----------------------------------------------------------------
>
>                 Key: SOLR-15014
>                 URL: https://issues.apache.org/jira/browse/SOLR-15014
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: AutoScaling
>    Affects Versions: 8.6.3
>            Reporter: Gus Heck
>            Priority: Major
>         Attachments: Screen Shot 2020-11-23 at 11.40.29 AM.png, 
> image-2020-11-23-11-37-15-124.png
>
>
> Although the present autoscaling implementation is deprecated, I have a 
> client intent on using it, and in trying to create rules that ensure all 
> replicas on all nodes, I wound up getting into a state where one replica was 
> (apparently) infinitely creating new copies of itself. The boiled down steps 
> to reproduce:
> Create a 4 node cluster locally for testing from a checkout of the tagged 
> version for 8.6.3
> (Using solr/cloud-dev/cloud.sh)
> {code:java}
> ./cloud.sh  new -r   
> {code}
> Create a collection
> {code:java}
> http://localhost:8983/solr/admin/collections?action=CREATE&name=newCollection&numShards=2&replicationFactor=1
> {code}
> Add this trigger from the ref guide 
> ([https://lucene.apache.org/solr/guide/8_6/solrcloud-autoscaling-triggers.html#node-added-trigger):]
> {code:java}
> {
>   "set-trigger": {
>     "name": "node_added_trigger",
>     "event": "nodeAdded",
>     "waitFor": "5s",
>     "preferredOperation": "ADDREPLICA",
>     "replicaType": "PULL"
>   }
> }
> {code}
> Reboot the cluster, and when it comes up infinite replica creation ensues 
> (attaching screen shot of admin UI showing replicated shard momentarily)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to