lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-12592) Support cores:'EQUAL' %age , range in autoscaling policies
Date Tue, 02 Oct 2018 00:03:00 GMT

     [ https://issues.apache.org/jira/browse/SOLR-12592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Noble Paul resolved SOLR-12592.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 7.5
                   master (8.0)

> Support cores:'EQUAL'  %age , range in autoscaling policies
> -----------------------------------------------------------
>
>                 Key: SOLR-12592
>                 URL: https://issues.apache.org/jira/browse/SOLR-12592
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: AutoScaling, SolrCloud
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Major
>             Fix For: master (8.0), 7.5
>
>
> It's possible to  sort nodes according to cores and the system can normally prefer nodes
with fewer cores when placing new replicas. However, it may not give suggestions to move off
replicas , if the system  is already in an unbalanced state.
> The following rule may help achieve such a balanced distribution of cores
> {code}
> {"cores":"#EQUAL" , node: "#ANY"}
> {code}
> The value of cores is computed as {{total_cores/total_nodes}}. for e.g: if there are
28 cores in total and there are 5 nodes . the value of cores= 28/5 = 5.6. This means a node
may have either 5 cores or 6 cores.
> It's possible that this may cause a conflict with other collection-specific rules such
as
> {code}
> {"replica":"#EQUAL" , "node" : "#ANY"}
> {code}
> It can be remedied by making this rule , not strict.
> {code}
> {"cores":"#EQUAL" , "node": "#ANY", "strict"=false}
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message