Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

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

Christine Poerschke683aa3d3e9b7
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 6fdfac86bf4..4d2724ea515 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 3a559880e97..5f93e30bb6f 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);
}