Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

boost how long we are willing to wait for config info to show up in cluster state

Mark Robert Millerfc3972fa1fd7
diff --git a/solr/core/src/java/org/apache/solr/cloud/ZkController.java b/solr/core/src/java/org/apache/solr/cloud/ZkController.java
index 3cd81225617..83d400a8899 100644
--- a/solr/core/src/java/org/apache/solr/cloud/ZkController.java
+++ b/solr/core/src/java/org/apache/solr/cloud/ZkController.java
@@ -947,10 +947,10 @@ public final class ZkController {
collectionProps.put(CONFIGNAME_PROP, configNames.get(0));
break;
}
- log.info("Could not find collection configName - pausing for 2 seconds and trying again - try: " + retry);
- Thread.sleep(2000);
+ log.info("Could not find collection configName - pausing for 3 seconds and trying again - try: " + retry);
+ Thread.sleep(3000);
}
- if (retry == 6) {
+ if (retry == 10) {
log.error("Could not find configName for collection " + collection);
throw new ZooKeeperException(
SolrException.ErrorCode.SERVER_ERROR,