cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mish...@apache.org
Subject [01/10] git commit: RepairTask didn't send a correct message on IllegalArgumentException
Date Tue, 03 Jun 2014 21:17:29 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-1.2 12a7a7ebf -> dc73f214e
  refs/heads/cassandra-2.0 a39f4ea72 -> 500e7b7ea
  refs/heads/cassandra-2.1 13198c7bc -> fbe4df5e2
  refs/heads/trunk f28bc63ec -> eb19354aa


RepairTask didn't send a correct message on IllegalArgumentException

patch by Mikhail Stepura; reviewed by Yuki Morishita for CASSANDRA-7336


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

Branch: refs/heads/cassandra-1.2
Commit: dc73f214e0831c11986f0548cc3ae5879449e683
Parents: 12a7a7e
Author: Mikhail Stepura <mishail@apache.org>
Authored: Sun Jun 1 22:05:38 2014 -0700
Committer: Mikhail Stepura <mishail@apache.org>
Committed: Tue Jun 3 14:10:38 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/dc73f214/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 8014170..40eee1b 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -29,6 +29,7 @@
  * Fix bug with some IN queries missig results (CASSANDRA-7105)
  * Fix availability validation for LOCAL_ONE CL (CASSANDRA-7319)
  * Hint streaming can cause decommission to fail (CASSANDRA-7219)
+ * RepairTask didn't send a correct message on IllegalArgumentException (CASSANDRA-7336)
 
 
 1.2.16

http://git-wip-us.apache.org/repos/asf/cassandra/blob/dc73f214/src/java/org/apache/cassandra/service/StorageService.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/StorageService.java b/src/java/org/apache/cassandra/service/StorageService.java
index 494da33..449a371 100644
--- a/src/java/org/apache/cassandra/service/StorageService.java
+++ b/src/java/org/apache/cassandra/service/StorageService.java
@@ -2549,7 +2549,7 @@ public class StorageService extends NotificationBroadcasterSupport implements
IE
                     catch (IllegalArgumentException e)
                     {
                         logger.error("Repair session failed:", e);
-                        sendNotification("repair", message, new int[]{cmd, AntiEntropyService.Status.SESSION_FAILED.ordinal()});
+                        sendNotification("repair", e.getMessage(), new int[]{cmd, AntiEntropyService.Status.SESSION_FAILED.ordinal()});
                         continue;
                     }
                     if (future == null)


Mime
View raw message