lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [10/10] lucene-solr:jira/solr-11285: SOLR-11285: Probably a bug?
Date Tue, 29 Aug 2017 12:26:42 GMT
SOLR-11285: Probably a bug?


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/1053444e
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/1053444e
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/1053444e

Branch: refs/heads/jira/solr-11285
Commit: 1053444e1c3029cef6e624baf45d739b0b147cd1
Parents: 8fa08cb
Author: Andrzej Bialecki <ab@apache.org>
Authored: Tue Aug 29 14:26:11 2017 +0200
Committer: Andrzej Bialecki <ab@apache.org>
Committed: Tue Aug 29 14:26:11 2017 +0200

----------------------------------------------------------------------
 solr/core/src/java/org/apache/solr/cloud/Assign.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/1053444e/solr/core/src/java/org/apache/solr/cloud/Assign.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/cloud/Assign.java b/solr/core/src/java/org/apache/solr/cloud/Assign.java
index cad08df..202e26e 100644
--- a/solr/core/src/java/org/apache/solr/cloud/Assign.java
+++ b/solr/core/src/java/org/apache/solr/cloud/Assign.java
@@ -246,7 +246,7 @@ public class Assign {
     String policyName = message.getStr(POLICY);
     AutoScalingConfig autoScalingConfig = ocmh.overseer.getSolrCloudDataProvider().getClusterDataProvider().getAutoScalingConfig();
 
-    if (rulesMap == null && policyName == null && autoScalingConfig.getPolicy().getClusterPolicy().isEmpty())
{
+    if (rulesMap == null && policyName == null && autoScalingConfig.isEmpty())
{
       log.debug("Identify nodes using default");
       int i = 0;
       List<ReplicaPosition> result = new ArrayList<>();


Mime
View raw message