Apache Lucene open-source search software
SOLR-3600: Raise the default zkClientTimeout from 10 seconds to 15 seconds.
Mark Robert Miller8d68f469cc95
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 1c33d5cff58..ce016098101 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -105,6 +105,8 @@ Other Changes* SOLR-3609: Change Solr's expanded webapp directory to be at a consistent path calledsolr-webapp rather than a temporary directory. (Mark Miller)++* SOLR-3600: Raise the default zkClientTimeout from 10 seconds to 15 seconds. (Mark Miller)================== 4.0.0-ALPHA ==================More information about this release, including any errata related to thediff --git a/solr/core/src/java/org/apache/solr/core/CoreContainer.java b/solr/core/src/java/org/apache/solr/core/CoreContainer.javaindex 65eafa8a84a..2b1c92c906f 100644--- a/solr/core/src/java/org/apache/solr/core/CoreContainer.java+++ b/solr/core/src/java/org/apache/solr/core/CoreContainer.java@@ -90,7 +90,7 @@ public class CoreContainer{private static final String DEFAULT_HOST_CONTEXT = "solr";private static final String DEFAULT_HOST_PORT = "8983";- private static final int DEFAULT_ZK_CLIENT_TIMEOUT = 10000;+ private static final int DEFAULT_ZK_CLIENT_TIMEOUT = 15000;public static final String DEFAULT_DEFAULT_CORE_NAME = "collection1";private static final boolean DEFAULT_SHARE_SCHEMA = false;diff --git a/solr/example/solr/solr.xml b/solr/example/solr/solr.xmlindex fd6dd6711c9..f445214120d 100644--- a/solr/example/solr/solr.xml+++ b/solr/example/solr/solr.xml@@ -47,7 +47,7 @@All of the attributes in cores after defaultCoreName only apply when running in SolrCloud mode.You can read more about SolrCloud mode at http://wiki.apache.org/solr/SolrCloud-->- <cores adminPath="/admin/cores" defaultCoreName="collection1" host="${host:}" hostPort="${jetty.port:}" zkClientTimeout="${zkClientTimeout:10000}">+ <cores adminPath="/admin/cores" defaultCoreName="collection1" host="${host:}" hostPort="${jetty.port:}" zkClientTimeout="${zkClientTimeout:15000}"><core name="collection1" instanceDir="collection1" /></cores></solr>