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
This commit is contained in:
Mark Robert Miller 2012-03-03 20:31:00 +00:00
parent 6a6c1ed04e
commit fc3972fa1f
1 changed files with 3 additions and 3 deletions

View File

@ -947,10 +947,10 @@ public final class ZkController {
collectionProps.put(CONFIGNAME_PROP, configNames.get(0)); collectionProps.put(CONFIGNAME_PROP, configNames.get(0));
break; break;
} }
log.info("Could not find collection configName - pausing for 2 seconds and trying again - try: " + retry); log.info("Could not find collection configName - pausing for 3 seconds and trying again - try: " + retry);
Thread.sleep(2000); Thread.sleep(3000);
} }
if (retry == 6) { if (retry == 10) {
log.error("Could not find configName for collection " + collection); log.error("Could not find configName for collection " + collection);
throw new ZooKeeperException( throw new ZooKeeperException(
SolrException.ErrorCode.SERVER_ERROR, SolrException.ErrorCode.SERVER_ERROR,