Skip to content

Apache Lucene open-source search software

add log line for update request retries

Mark Robert Millerd7d998a16b7e
diff --git a/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java b/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java
index acd2229a1d7..0dce97ffedb 100644
--- a/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java
+++ b/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java
@@ -355,6 +355,7 @@ public class SolrCmdDistributor {
sreq.retries++;
sreq.rspCode = 0;
sreq.exception = null;
+ SolrException.log(SolrCore.log, "forwarding update to " + sreq.node.getUrl() + " failed - retrying ... ", sreq.exception);
Thread.sleep(500);
submit(sreq);
checkResponses(block);