Apache Solr open-source search software
SOLR-3180: remove bad assumption
Mark Robert Millera0676b3b0b92
diff --git a/solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java b/solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.javaindex f48ceefe38f..0e993119fef 100644--- a/solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java+++ b/solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java@@ -407,11 +407,9 @@ public class DistributedUpdateProcessor extends UpdateRequestProcessor {// TODO: we should do this in the background it would seemfor (SolrCmdDistributor.Error error : response.errors) {- if (error.node instanceof RetryNode || error.e instanceof SolrException) {+ if (error.node instanceof RetryNode) {// we don't try to force a leader to recover// when we cannot forward to it- // and we assume SolrException means- // the node went downcontinue;}// TODO: we should force their state to recovering ??