You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2018/07/27 02:39:00 UTC

[jira] [Resolved] (SOLR-12536) Enhance autoscaling policy to equally distribute replicas on the basis of arbitrary properties

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

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

> Enhance autoscaling policy to equally distribute replicas on the basis of arbitrary properties
> ----------------------------------------------------------------------------------------------
>
>                 Key: SOLR-12536
>                 URL: https://issues.apache.org/jira/browse/SOLR-12536
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: AutoScaling
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Major
>             Fix For: master (8.0), 7.5
>
>
> *example:1*
> {code:java}
> {"replica" : "#EQUAL"  , "shard" : "#EACH" , "port" : "#EACH" }
> //if the ports are "8983", "7574", "7575", the above rule is equivalent to
> {"replica" : "#EQUAL"  , "shard" : "#EACH" , "port" : ["8983", "7574", "7575"]}{code}
> *case 1*: {{numShards =2, replicationFactor=3}} . In this case all the nodes are divided into 3 buckets each containing nodes in that port. Each bucket must contain {{3 * 2 /3 =2}} replicas
>  
> *example : 2*
> {code:java}
> {"replica" : "#EQUAL"  , "shard" : "#EACH" , "sysprop.zone" : "#EACH" }
> //if the zones are "east_1", "east_2", "west_1", the above rule is equivalent to
> {"replica" : "#EQUAL"  , "shard" : "#EACH" , "sysprop.zone" : ["east_1", "east_2", "west_1"]}{code}
> The behavior is similar to example 1 , just that in this case we apply it to a system property



--
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