mirror of https://github.com/apache/lucene.git
SOLR-5349: CloudSolrServer - ZK timeout arguments passed to ZkStateReader are flipped
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1532314 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9e258d224d
commit
e572dce1e5
|
@ -186,6 +186,9 @@ Bug Fixes
|
|||
|
||||
* SOLR-4327: HttpSolrServer can leak connections on errors. (Karl Wright, Mark Miller)
|
||||
|
||||
* SOLR-5349: CloudSolrServer - ZK timeout arguments passed to ZkStateReader are flipped.
|
||||
(Ricardo Merizalde via shalin)
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -224,8 +224,8 @@ public class CloudSolrServer extends SolrServer {
|
|||
synchronized (this) {
|
||||
if (zkStateReader == null) {
|
||||
try {
|
||||
ZkStateReader zk = new ZkStateReader(zkHost, zkConnectTimeout,
|
||||
zkClientTimeout);
|
||||
ZkStateReader zk = new ZkStateReader(zkHost, zkClientTimeout,
|
||||
zkConnectTimeout);
|
||||
zk.createClusterStateWatchersAndUpdate();
|
||||
zkStateReader = zk;
|
||||
} catch (InterruptedException e) {
|
||||
|
|
Loading…
Reference in New Issue