SOLR-6850: AutoAddReplicas makes a call to wait to see live replicas that times out after 30 milliseconds instead of 30 seconds.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647460 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2014-12-23 01:16:12 +00:00
parent 2bef294a09
commit fa1f4467f4
2 changed files with 4 additions and 1 deletions

View File

@ -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
----------------------

View File

@ -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;