cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tylerho...@apache.org
Subject cassandra git commit: Lower log from error to debug when schema pull can't be executed
Date Wed, 25 Mar 2015 15:40:41 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.0 b296c55f9 -> 9625910a5


Lower log from error to debug when schema pull can't be executed

Patch by Tyler Hobbs; reviewed by Aleksey Yeschenko for CASSANDRA-9032


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/9625910a
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/9625910a
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/9625910a

Branch: refs/heads/cassandra-2.0
Commit: 9625910a533715e24211038ddd2776f5ec74ceae
Parents: b296c55
Author: Tyler Hobbs <tyler@datastax.com>
Authored: Wed Mar 25 10:39:49 2015 -0500
Committer: Tyler Hobbs <tyler@datastax.com>
Committed: Wed Mar 25 10:39:49 2015 -0500

----------------------------------------------------------------------
 CHANGES.txt                                              | 2 ++
 src/java/org/apache/cassandra/service/MigrationTask.java | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/9625910a/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index e17e82f..293dc55 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,6 @@
 2.0.14:
+ * Lower logging level from ERROR to DEBUG when a scheduled schema pull
+   cannot be completed due to a node being down (CASSANDRA-9032)
  * Fix MOVED_NODE client event (CASSANDRA-8516)
  * Allow overriding MAX_OUTSTANDING_REPLAY_COUNT (CASSANDRA-7533)
  * Fix malformed JMX ObjectName containing IPv6 addresses (CASSANDRA-9027)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/9625910a/src/java/org/apache/cassandra/service/MigrationTask.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/MigrationTask.java b/src/java/org/apache/cassandra/service/MigrationTask.java
index 0944c55..290465e 100644
--- a/src/java/org/apache/cassandra/service/MigrationTask.java
+++ b/src/java/org/apache/cassandra/service/MigrationTask.java
@@ -59,7 +59,7 @@ class MigrationTask extends WrappedRunnable
 
         if (!FailureDetector.instance.isAlive(endpoint))
         {
-            logger.error("Can't send migration request: node {} is down.", endpoint);
+            logger.debug("Can't send schema pull request: node {} is down.", endpoint);
             return;
         }
 


Mime
View raw message