lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r1296692 - /lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/ZkController.java
Date Sat, 03 Mar 2012 20:31:00 GMT
Author: markrmiller
Date: Sat Mar  3 20:31:00 2012
New Revision: 1296692

URL: http://svn.apache.org/viewvc?rev=1296692&view=rev
Log:
boost how long we are willing to wait for config info to show up in cluster state

Modified:
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/ZkController.java

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/ZkController.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/ZkController.java?rev=1296692&r1=1296691&r2=1296692&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/ZkController.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/ZkController.java Sat Mar  3
20:31:00 2012
@@ -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,



Mime
View raw message