You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/06/26 06:29:00 UTC

[jira] [Commented] (SOLR-12511) Support non integer values for replica in autoscaling rules

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

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

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

SOLR-11985: Support percentage values in replica attribute in autoscaling policy

SOLR-12511: Support non integer values for replica in autoscaling policy

SOLR-12517: Support range values for replica in autoscaling policy


> Support non integer values for replica in autoscaling rules
> -----------------------------------------------------------
>
>                 Key: SOLR-12511
>                 URL: https://issues.apache.org/jira/browse/SOLR-12511
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: AutoScaling
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Major
>
> This means the user can configure a decimal value in replica
> example :
> {code:json}
> {"replica": 1.638, "node":"#ANY"}
> {code}
> This means a few things. The no:of of replicas in a node can be either 2 or 1. This also means that violations are calculated as follows
>  * If the replica count is 1 or 2 there are no violations 
>  * If the replica count is 3, there is a violation and the delta is *{{3-1.638 = 1.362}}*
>  * if the replica count is 0, there is a violation and the delta is *{{1.638 - 0 = 1.638}}*
>  * This also means that the node with zero replicas has a *more serious* violation and the system would try to rectify that first before it address the node with 3 replicas



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