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