SOLR-3180: remove bad assumption

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425554 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2012-12-23 22:58:30 +00:00
parent a2864cdcb0
commit a0676b3b0b
1 changed files with 1 additions and 3 deletions

View File

@ -407,11 +407,9 @@ public class DistributedUpdateProcessor extends UpdateRequestProcessor {
// TODO: we should do this in the background it would seem
for (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 down
continue;
}
// TODO: we should force their state to recovering ??