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

ASF subversion and git services commented on SOLR-12536:
--------------------------------------------------------

Commit d87ea6b1ccd28e0dd8e30565fe95b2e0a31f82e8 in lucene-solr's branch 
refs/heads/master from [~noble.paul]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d87ea6b ]

SOLR-12536: autoscaling policy support to equally distribute replicas on the 
basis of arbitrary properties


> 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
>
> *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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to