From fc3972fa1fd7469f0898e5d6ada2c63196fca047 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Sat, 3 Mar 2012 20:31:00 +0000 Subject: [PATCH] boost how long we are willing to wait for config info to show up in cluster state git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1296692 13f79535-47bb-0310-9956-ffa450edef68 --- solr/core/src/java/org/apache/solr/cloud/ZkController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,