[jira] [Commented] (SOLR-12846) Policy rules do not support host variable

2018-10-22 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on SOLR-12846:


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

SOLR-12846: Added support for "host" variable in autoscaling policy rules


> Policy rules do not support host variable
> -
>
> Key: SOLR-12846
> URL: https://issues.apache.org/jira/browse/SOLR-12846
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: AutoScaling
>Affects Versions: 7.5
>Reporter: Shalin Shekhar Mangar
>Assignee: Noble Paul
>Priority: Major
> Fix For: 7.6, master (8.0)
>
>
> The policy documentation says that there is a host variable supported in 
> policy rules at 
> https://lucene.apache.org/solr/guide/7_5/solrcloud-autoscaling-policy-preferences.html#node-selection-attributes
> But there is no mention of it in the code. Perhaps it got lost during 
> refactorings and there were no tests for it? In any case, we should add it 
> back. It'd be great if we can support #EACH for host so that one can write a 
> rule to distribute replicas across hosts and not just nodes. This would be 
> very useful when one runs multiple Solr JVMs in the same physical node.



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

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



[jira] [Commented] (SOLR-12846) Policy rules do not support host variable

2018-10-22 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on SOLR-12846:


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

SOLR-12846: Added support for "host" variable in autoscaling policy rules


> Policy rules do not support host variable
> -
>
> Key: SOLR-12846
> URL: https://issues.apache.org/jira/browse/SOLR-12846
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: AutoScaling
>Affects Versions: 7.5
>Reporter: Shalin Shekhar Mangar
>Assignee: Noble Paul
>Priority: Major
> Fix For: 7.6, master (8.0)
>
>
> The policy documentation says that there is a host variable supported in 
> policy rules at 
> https://lucene.apache.org/solr/guide/7_5/solrcloud-autoscaling-policy-preferences.html#node-selection-attributes
> But there is no mention of it in the code. Perhaps it got lost during 
> refactorings and there were no tests for it? In any case, we should add it 
> back. It'd be great if we can support #EACH for host so that one can write a 
> rule to distribute replicas across hosts and not just nodes. This would be 
> very useful when one runs multiple Solr JVMs in the same physical node.



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

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



[jira] [Commented] (SOLR-12846) Policy rules do not support host variable

2018-10-16 Thread Varun Thacker (JIRA)


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

Varun Thacker commented on SOLR-12846:
--

+1

Here's an example that I want to talk about - Disallow two replicas on the same 
physical host

 
{code:java}
{"replica": "<2", "host": “#ANY”}{code}

> Policy rules do not support host variable
> -
>
> Key: SOLR-12846
> URL: https://issues.apache.org/jira/browse/SOLR-12846
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: AutoScaling
>Affects Versions: 7.5
>Reporter: Shalin Shekhar Mangar
>Priority: Major
> Fix For: 7.6, master (8.0)
>
>
> The policy documentation says that there is a host variable supported in 
> policy rules at 
> https://lucene.apache.org/solr/guide/7_5/solrcloud-autoscaling-policy-preferences.html#node-selection-attributes
> But there is no mention of it in the code. Perhaps it got lost during 
> refactorings and there were no tests for it? In any case, we should add it 
> back. It'd be great if we can support #EACH for host so that one can write a 
> rule to distribute replicas across hosts and not just nodes. This would be 
> very useful when one runs multiple Solr JVMs in the same physical node.



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

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