You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2019/03/07 21:08:59 UTC

[lucene-solr] branch master updated: SOLR-13254: Correct message that is logged in solrj's ConnectionManager when an exception occurred while reconnecting to ZooKeeper. (hu xiaodong via Christine Poerschke)

This is an automated email from the ASF dual-hosted git repository.

cpoerschke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/master by this push:
     new 683aa3d  SOLR-13254: Correct message that is logged in solrj's ConnectionManager when an exception occurred while reconnecting to ZooKeeper. (hu xiaodong via Christine Poerschke)
683aa3d is described below

commit 683aa3d3e9b7e8d66b5be737dade3ffc0690c7c5
Author: Christine Poerschke <cp...@apache.org>
AuthorDate: Thu Mar 7 20:17:31 2019 +0000

    SOLR-13254: Correct message that is logged in solrj's ConnectionManager when an exception occurred while reconnecting to ZooKeeper. (hu xiaodong via Christine Poerschke)
---
 solr/CHANGES.txt                                                       | 3 +++
 .../solrj/src/java/org/apache/solr/common/cloud/ConnectionManager.java | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 6fdfac8..4d2724e 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -101,6 +101,9 @@ Bug Fixes
 
 * SOLR-13295: Reproducible failure in TestDistributedGrouping (Erick Erickson)
 
+* SOLR-13254: Correct message that is logged in solrj's ConnectionManager when an exception
+  occurred while reconnecting to ZooKeeper. (hu xiaodong via Christine Poerschke)
+
 Improvements
 ----------------------
 * SOLR-12999: Index replication could delete segments before downloading segments from master if there is not enough
diff --git a/solr/solrj/src/java/org/apache/solr/common/cloud/ConnectionManager.java b/solr/solrj/src/java/org/apache/solr/common/cloud/ConnectionManager.java
index 3a55988..5f93e30 100644
--- a/solr/solrj/src/java/org/apache/solr/common/cloud/ConnectionManager.java
+++ b/solr/solrj/src/java/org/apache/solr/common/cloud/ConnectionManager.java
@@ -183,7 +183,7 @@ public class ConnectionManager implements Watcher {
           
         } catch (Exception e) {
           SolrException.log(log, "", e);
-          log.info("Could not connect due to error, sleeping for 5s and trying agian");
+          log.info("Could not connect due to error, sleeping for 1s and trying again");
           waitSleep(1000);
         }