You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Cassandra Targett (Jira)" <ji...@apache.org> on 2021/08/17 13:32:00 UTC

[jira] [Commented] (SOLR-15588) Implement random replica placement strategy

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

Cassandra Targett commented on SOLR-15588:
------------------------------------------

A RandomPlacementFactory already exists for 9.0, as one of the 3 OOTB replica placement options that will be available: https://nightlies.apache.org/solr/draft-guides/solr-reference-guide-main/replica-placement-plugins.html.

I think it might be complex to add to 8.x - just based on what I know of what a mess 8.x is in this regard - and both of the placement approaches available in 8.x are removed in 9.0 so it would also be throw-away work. But it sounds like you have something working already? I could see an argument that it might be helpful for people who need to stay on 8.x for a while, as a stopgap between the current situation in 8.x and the replacement in 9.0. But IMO it should be thought of and explicitly documented as a stopgap.

> Implement random replica placement strategy
> -------------------------------------------
>
>                 Key: SOLR-15588
>                 URL: https://issues.apache.org/jira/browse/SOLR-15588
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>    Affects Versions: main (9.0), 8x
>            Reporter: Megan Carey
>            Priority: Minor
>
> While this might be particularly interesting to users of 8x, it can also be made available in 9+: a replica placement strategy that randomly selects a node in the cluster (as long as no other replicas of that shard already live on that node). 
> This has proven to be a valuable strategy for my use case, as it allows for really fast replica placement (-> fast collection creation, fast rebalancing, etc.), but it does not explicitly respect Autoscaling policies, so should be used wisely. 



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

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