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

Ilan Ginzburg commented on SOLR-14613:
--------------------------------------

I'm getting closer to being happy with the interfaces. Will add whatever other 
computation needs there are (by reviewing all Collection API command 
implementations). I've simplified quite a bit from last week, and sticking 
closer to current Collection API and Overseer state change implementations so 
writing the Solr side code driving these interfaces will be relatively simple.

I'm keeping the {{Cluster}}, {{SolrCollection}}, {{Shard}}, {{Replica}} 
abstractions originally introduced in this PR for now and not switching right 
away to use those being defined in [PR 
1694|https://github.com/apache/lucene-solr/pull/1694]. Once 1694 is complete 
with examples (and committed) I'll see how much more complex/simple/efficient 
plugin (and Solr side implementation) code is made by using 1694 abstractions 
and will decide to either expose them directly to plugins or use a layer on top 
of them and keep the abstractions as defined here.

> 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: 10h 10m
>  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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to