You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2014/10/24 16:07:51 UTC

svn commit: r1634060 - /lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/ElectionContext.java

Author: shalin
Date: Fri Oct 24 14:07:51 2014
New Revision: 1634060

URL: http://svn.apache.org/r1634060
Log:
SOLR-6651: Don't log found twice

Modified:
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/ElectionContext.java

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/ElectionContext.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/ElectionContext.java?rev=1634060&r1=1634059&r2=1634060&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/ElectionContext.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/ElectionContext.java Fri Oct 24 14:07:51 2014
@@ -425,7 +425,7 @@ final class ShardLeaderElectionContext e
         } else {
           if (cnt % 40 == 0) {
             log.info("Waiting until we see more replicas up for shard {}: total={}"
-              + " found={}" + found
+              + " found={}"
               + " timeoutin={}ms",
                 shardId, slices.getReplicasMap().size(), found,
                 TimeUnit.MILLISECONDS.convert(timeoutAt - System.nanoTime(), TimeUnit.NANOSECONDS));
@@ -445,7 +445,6 @@ final class ShardLeaderElectionContext e
       
       Thread.sleep(500);
       slices = zkController.getClusterState().getSlice(collection, shardId);
-      // System.out.println("###### waitForReplicasToComeUp  : slices=" + slices + " all=" + zkController.getClusterState().getCollectionStates() );
       cnt++;
     }
   }