lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jan...@apache.org
Subject [lucene-solr] 01/08: SOLR-13254: Correct message that is logged in solrj's ConnectionManager when an exception occurred while reconnecting to ZooKeeper. (hu xiaodong via Christine Poerschke)
Date Thu, 16 May 2019 16:48:34 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 6c7278117c6712147580731a4d6ff6d4019e452d
Author: Christine Poerschke <cpoerschke@apache.org>
AuthorDate: Thu Mar 7 21:17:31 2019 +0100

    SOLR-13254: Correct message that is logged in solrj's ConnectionManager when an exception
occurred while reconnecting to ZooKeeper. (hu xiaodong via Christine Poerschke)
    
    (cherry picked from commit 683aa3d3e9b7e8d66b5be737dade3ffc0690c7c5)
---
 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 3fd6ce5..248b613 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -89,6 +89,9 @@ Bug fixes
 * SOLR-13410: Designated overseer wasn't able to rejoin election queue at head upon restart
(Ishan Chattopadhyaya,
   Kesharee Nandan Vishwakarma)
 
+* SOLR-13254: Correct message that is logged in solrj's ConnectionManager when an exception
+  occurred while reconnecting to ZooKeeper. (hu xiaodong via Christine Poerschke)
+
 ==================  7.7.1 ==================
 
 Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
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);
         }
         


Mime
View raw message