mirror of https://github.com/apache/lucene.git
SOLR-9735: fix Recovered WARNINGs in autoscaling/Policy.applyRules()
('Internal inconsistency detected during lambda shape analysis') is the (Recovered) warning.
This commit is contained in:
parent
ebfc04b146
commit
b3c3f596d9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue