mirror of https://github.com/apache/lucene.git
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:
parent
13e8aa61fc
commit
716b4acc74
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue