You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2017/06/23 15:52:43 UTC

[4/4] lucene-solr:master: SOLR-9735: fix Recovered WARNINGs in autoscaling/Policy.applyRules()

SOLR-9735: fix Recovered WARNINGs in autoscaling/Policy.applyRules()

('Internal inconsistency detected during lambda shape analysis') is the (Recovered) warning.


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

Branch: refs/heads/master
Commit: b3c3f596d9242bffed6e177bb4ef609e2b0388a6
Parents: ebfc04b
Author: Christine Poerschke <cp...@apache.org>
Authored: Fri Jun 23 11:47:57 2017 +0100
Committer: Christine Poerschke <cp...@apache.org>
Committed: Fri Jun 23 15:47:25 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/b3c3f596/solr/solrj/src/java/org/apache/solr/cloud/autoscaling/Policy.java
----------------------------------------------------------------------
diff --git a/solr/solrj/src/java/org/apache/solr/cloud/autoscaling/Policy.java b/solr/solrj/src/java/org/apache/solr/cloud/autoscaling/Policy.java
index dd9dfc5..c86ccf9 100644
--- a/solr/solrj/src/java/org/apache/solr/cloud/autoscaling/Policy.java
+++ b/solr/solrj/src/java/org/apache/solr/cloud/autoscaling/Policy.java
@@ -216,7 +216,7 @@ public class Policy implements MapWriter {
           p.setApproxVal(tmpMatrix);
         }
         //approximate values are set now. Let's do recursive sorting
-        Collections.sort(matrix, (r1, r2) -> {
+        Collections.sort(matrix, (Row r1, Row r2) -> {
           int result = clusterPreferences.get(0).compare(r1, r2, true);
           if (result == 0) result = clusterPreferences.get(0).compare(r1, r2, false);
           return result;