Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Autoscaling policy initialisation tries to fetch metrics for each node during construction. However, it does not skip the known dead nodes causing a timeout to be logged. We should skip such requests entirely.
20579 WARN (AutoscalingActionExecutor-37-thread-1) [ ] o.a.s.c.s.i.SolrClientNodeStateProvider could not get tags from node 127.0.0.1:63255_solr org.apache.solr.client.solrj.SolrServerException: Server refused connection at: http://127.0.0.1:63255/solr at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:650) ~[java/:?] at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:255) ~[java/:?] at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:244) ~[java/:?] at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1260) ~[java/:?] at org.apache.solr.client.solrj.impl.SolrClientNodeStateProvider$ClientSnitchCtx.invoke(SolrClientNodeStateProvider.java:342) ~[java/:?] at org.apache.solr.client.solrj.impl.SolrClientNodeStateProvider.fetchReplicaMetrics(SolrClientNodeStateProvider.java:195) [java/:?] at org.apache.solr.client.solrj.impl.SolrClientNodeStateProvider.fetchReplicaMetrics(SolrClientNodeStateProvider.java:186) [java/:?] at org.apache.solr.client.solrj.impl.SolrClientNodeStateProvider.getReplicaInfo(SolrClientNodeStateProvider.java:169) [java/:?] at org.apache.solr.client.solrj.cloud.autoscaling.Row.<init>(Row.java:60) [java/:?] at org.apache.solr.client.solrj.cloud.autoscaling.Suggester.getSuggestion(Suggester.java:181) [java/:?] at org.apache.solr.cloud.autoscaling.ComputePlanAction.process(ComputePlanAction.java:114) [java/:?] at org.apache.solr.cloud.autoscaling.ScheduledTriggers.lambda$null$419(ScheduledTriggers.java:308) [java/:?]