mirror of https://github.com/apache/lucene.git
SOLR-6651: Fix wrong timeout logged in waitForReplicasToComeUp
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634057 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bd68541c0f
commit
13e8aa61fc
|
@ -363,6 +363,8 @@ Other Changes
|
|||
* SOLR-6578: Update commons-io dependency to the latest 2.4 version
|
||||
(Steve Rowe, Shawn Heisey)
|
||||
|
||||
* SOLR-6651: Fix wrong timeout logged in waitForReplicasToComeUp. (shalin)
|
||||
|
||||
================== 4.10.1 ==================
|
||||
|
||||
Bug Fixes
|
||||
|
|
|
@ -424,9 +424,11 @@ final class ShardLeaderElectionContext extends ShardLeaderElectionContextBase {
|
|||
return;
|
||||
} else {
|
||||
if (cnt % 40 == 0) {
|
||||
log.info("Waiting until we see more replicas up for shard " + shardId + ": total="
|
||||
+ slices.getReplicasMap().size() + " found=" + found
|
||||
+ " timeoutin=" + (timeoutAt - System.nanoTime() / (float)(10^9)) + "ms");
|
||||
log.info("Waiting until we see more replicas up for shard {}: total={}"
|
||||
+ " found={}" + found
|
||||
+ " timeoutin={}ms",
|
||||
shardId, slices.getReplicasMap().size(), found,
|
||||
TimeUnit.MILLISECONDS.convert(timeoutAt - System.nanoTime(), TimeUnit.NANOSECONDS));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue