[ 
https://issues.apache.org/jira/browse/SOLR-14275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17041395#comment-17041395
 ] 

Andrzej Bialecki commented on SOLR-14275:
-----------------------------------------

Steps to easily reproduce by using the simulation tools:
 * use the attached {{scenario.txt}}
 * run {{bin/solr autoscaling -scenario scenario.txt}}
 * observe the process is stuck for several minutes just doing the policy 
calculations.

> Policy calculations are very slow for large clusters and large operations
> -------------------------------------------------------------------------
>
>                 Key: SOLR-14275
>                 URL: https://issues.apache.org/jira/browse/SOLR-14275
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: AutoScaling
>    Affects Versions: 7.7.2, 8.4.1
>            Reporter: Andrzej Bialecki
>            Priority: Major
>         Attachments: scenario.txt
>
>
> Replica placement calculations performed during collection creation take 
> extremely long time (several minutes) when using a large cluster and creating 
> a large collection (eg. 1000 nodes, 500 shards, 4 replicas).
> Profiling shows that most of the time is spent in 
> {{Row.computeCacheIfAbsent}}, which probably doesn't reuse this cache as much 
> as it should.



--
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