You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Noble Paul (Jira)" <ji...@apache.org> on 2020/09/01 01:30:00 UTC

[jira] [Commented] (SOLR-14613) Provide a clean API for pluggable replica assignment implementations

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

Noble Paul commented on SOLR-14613:
-----------------------------------

We are making a Frankenstein framework which is getting harder day by day just in the name of strong typing. Initially I was in favour of the idea. As I see the monster that we are creating I'm inclined to push back

Here is my [take 2 |https://github.com/apache/lucene-solr/pull/1813] at an impl with
 * No new interfaces. Uses the existing interface
 * Supports configuring assign-strategy in clusterprops.json .
 * Supports packages

I'm  not saying that we should go with this. This is to just  to demonstrate to anyone who is passively watching this what is possible with very little change.

> Provide a clean API for pluggable replica assignment implementations
> --------------------------------------------------------------------
>
>                 Key: SOLR-14613
>                 URL: https://issues.apache.org/jira/browse/SOLR-14613
>             Project: Solr
>          Issue Type: Improvement
>          Components: AutoScaling
>            Reporter: Andrzej Bialecki
>            Assignee: Ilan Ginzburg
>            Priority: Major
>          Time Spent: 25h 20m
>  Remaining Estimate: 0h
>
> As described in SIP-8 the current autoscaling Policy implementation has several limitations that make it difficult to use for very large clusters and very large collections. SIP-8 also mentions the possible migration path by providing alternative implementations of the placement strategies that are less complex but more efficient in these very large environments.
> We should review the existing APIs that the current autoscaling engine uses ({{SolrCloudManager}} , {{AssignStrategy}} , {{Suggester}} and related interfaces) to see if they provide a sufficient and minimal API for plugging in alternative autoscaling placement strategies, and if necessary refactor the existing APIs.
> Since these APIs are internal it should be possible to do this without breaking back-compat.



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

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