lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject lucene-solr:branch_7x: SOLR-11702: Remove noise of exception messages on failed to ping leader
Date Sun, 11 Mar 2018 00:06:45 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7x 037f1ee3b -> 1f994c973


SOLR-11702: Remove noise of exception messages on failed to ping leader


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/1f994c97
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/1f994c97
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/1f994c97

Branch: refs/heads/branch_7x
Commit: 1f994c97301fbe8926115925102c78a8a133e26b
Parents: 037f1ee
Author: Cao Manh Dat <datcm@apache.org>
Authored: Sun Mar 11 07:05:46 2018 +0700
Committer: Cao Manh Dat <datcm@apache.org>
Committed: Sun Mar 11 07:06:33 2018 +0700

----------------------------------------------------------------------
 solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/1f994c97/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java b/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java
index 912f6ec..023b2e3 100644
--- a/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java
+++ b/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java
@@ -780,11 +780,11 @@ public class RecoveryStrategy implements Runnable, Closeable {
         SolrPingResponse resp = httpSolrClient.ping();
         return leaderReplica;
       } catch (IOException e) {
-        LOG.info("Failed to connect leader {} on recovery, try again", leaderReplica.getBaseUrl(),
e);
+        LOG.info("Failed to connect leader {} on recovery, try again", leaderReplica.getBaseUrl());
         Thread.sleep(500);
       } catch (Exception e) {
         if (e.getCause() instanceof IOException) {
-          LOG.info("Failed to connect leader {} on recovery, try again", leaderReplica.getBaseUrl(),
e);
+          LOG.info("Failed to connect leader {} on recovery, try again", leaderReplica.getBaseUrl());
           Thread.sleep(500);
         } else {
           return leaderReplica;


Mime
View raw message