diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 7943191aee0..6a791352ced 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -342,6 +342,9 @@ Bug Fixes * SOLR-6864: Support registering searcher listeners in SolrCoreAware.inform(SolrCore) method. Existing components rely on this. (Tomás Fernández Löbbe) +* SOLR-6850: AutoAddReplicas makes a call to wait to see live replicas that times + out after 30 milliseconds instead of 30 seconds. (Varun Thacker via Mark Miller) + Optimizations ---------------------- diff --git a/solr/core/src/java/org/apache/solr/cloud/OverseerAutoReplicaFailoverThread.java b/solr/core/src/java/org/apache/solr/cloud/OverseerAutoReplicaFailoverThread.java index 120f5c41b96..a3edf9f9056 100644 --- a/solr/core/src/java/org/apache/solr/cloud/OverseerAutoReplicaFailoverThread.java +++ b/solr/core/src/java/org/apache/solr/cloud/OverseerAutoReplicaFailoverThread.java @@ -242,7 +242,7 @@ public class OverseerAutoReplicaFailoverThread implements Runnable, Closeable { }); // wait to see state for core we just created - boolean success = ClusterStateUtil.waitToSeeLive(zkStateReader, collection, coreNodeName, createUrl, 30); + boolean success = ClusterStateUtil.waitToSeeLive(zkStateReader, collection, coreNodeName, createUrl, 30000); if (!success) { log.error("Creating new replica appears to have failed, timed out waiting to see created SolrCore register in the clusterstate."); return false;