[
https://issues.apache.org/jira/browse/SOLR-12648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16637922#comment-16637922
]
ASF subversion and git services commented on SOLR-12648:
--------------------------------------------------------
Commit 05949a32c9a1a20cce1623e6b76bc8397c4bc325 in lucene-solr's branch
refs/heads/master from [~shalinmangar]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=05949a3 ]
SOLR-12648: Use the information whether custom preferences were specified in
the CloudUtil.usePolicyFramework method instead of comparing directly against
default preferences. Comparing against default preferences was wrong because it
ignores the case where the user explicitly added the same preferences as the
default ones.
> 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
> Assignee: Shalin Shekhar Mangar
> Priority: Major
> Fix For: 7.6, master (8.0)
>
> Attachments: SOLR-12648.patch, SOLR-12648.patch, SOLR-12648.patch,
> SOLR-12648.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]