You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2012/01/19 16:04:39 UTC

svn commit: r1233416 - /lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrServer.java

Author: markrmiller
Date: Thu Jan 19 15:04:38 2012
New Revision: 1233416

URL: http://svn.apache.org/viewvc?rev=1233416&view=rev
Log:
fix state filter

Modified:
    lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrServer.java

Modified: lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrServer.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrServer.java?rev=1233416&r1=1233415&r2=1233416&view=diff
==============================================================================
--- lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrServer.java (original)
+++ lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrServer.java Thu Jan 19 15:04:38 2012
@@ -164,7 +164,7 @@ public class CloudSolrServer extends Sol
         ZkCoreNodeProps coreNodeProps = new ZkCoreNodeProps(nodeProps);
         String node = coreNodeProps.getNodeName();
         if (!liveNodes.contains(coreNodeProps.getNodeName())
-            && coreNodeProps.getState().equals(
+            || !coreNodeProps.getState().equals(
                 ZkStateReader.ACTIVE)) continue;
         if (nodes.put(node, nodeProps) == null) {
           String url = coreNodeProps.getCoreUrl();