Shalin Shekhar Mangar created SOLR-12648:
--------------------------------------------

             Summary: Autoscaling framework based replica placement is not used 
unless a policy is specified or non-empty cluster policy exists
                 Key: SOLR-12648
                 URL: https://issues.apache.org/jira/browse/SOLR-12648
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: AutoScaling, SolrCloud
    Affects Versions: 7.4
            Reporter: Shalin Shekhar Mangar
             Fix For: master (8.0), 7.5


Assign.java has a piece of code to decide which placement framework to use (we 
have three today):
{code}
if (rulesMap == null && policyName == null && 
autoScalingConfig.getPolicy().getClusterPolicy().isEmpty())
{code}

Note that the presence of cluster preferences is not a criteria. So even if a 
user adds cluster preferences, they will not be respected unless a policy also 
exists.



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

Reply via email to