You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2024/05/14 14:57:00 UTC

[jira] [Commented] (SOLR-17289) OrderedNodePlacementPlugin (for replicas) doesn't scale to many collections

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

David Smiley commented on SOLR-17289:
-------------------------------------

BTW kudos to my colleagues [~aparnasuresh] and [~ycallea] for identifying this collection looping as the problem.  I probably should have let them do the PR, LOL.

> OrderedNodePlacementPlugin (for replicas) doesn't scale to many collections
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-17289
>                 URL: https://issues.apache.org/jira/browse/SOLR-17289
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>            Reporter: David Smiley
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The replica placement plugins based on OrderedNodePlacementPlugin (which is all of them!) doesn't scale to thousands of collections because it gets increasingly slower to compute a placement.
> {{org.apache.solr.cluster.placement.plugins.OrderedNodePlacementPlugin#getWeightedNodes}} loops the replica of all collections in the cluster (ouch!), even when it's invoked for computePlacement (i.e. creating a collection).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org