mirror of https://github.com/apache/lucene.git
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:
parent
2bef294a09
commit
fa1f4467f4
|
@ -342,6 +342,9 @@ Bug Fixes
|
||||||
* SOLR-6864: Support registering searcher listeners in SolrCoreAware.inform(SolrCore)
|
* SOLR-6864: Support registering searcher listeners in SolrCoreAware.inform(SolrCore)
|
||||||
method. Existing components rely on this. (Tomás Fernández Löbbe)
|
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
|
Optimizations
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
@ -242,7 +242,7 @@ public class OverseerAutoReplicaFailoverThread implements Runnable, Closeable {
|
||||||
});
|
});
|
||||||
|
|
||||||
// wait to see state for core we just created
|
// 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) {
|
if (!success) {
|
||||||
log.error("Creating new replica appears to have failed, timed out waiting to see created SolrCore register in the clusterstate.");
|
log.error("Creating new replica appears to have failed, timed out waiting to see created SolrCore register in the clusterstate.");
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue