SOLR-6651: Don't log found twice

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634060 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2014-10-24 14:07:51 +00:00
parent 13e8aa61fc
commit 716b4acc74
1 changed files with 1 additions and 2 deletions

View File

@ -425,7 +425,7 @@ final class ShardLeaderElectionContext extends ShardLeaderElectionContextBase {
} 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 extends ShardLeaderElectionContextBase {
Thread.sleep(500);
slices = zkController.getClusterState().getSlice(collection, shardId);
// System.out.println("###### waitForReplicasToComeUp : slices=" + slices + " all=" + zkController.getClusterState().getCollectionStates() );
cnt++;
}
}