You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by be...@apache.org on 2015/09/10 15:38:30 UTC

[1/3] cassandra git commit: ninja fix erroneous error message in CASSANDRA-10109

Repository: cassandra
Updated Branches:
  refs/heads/cassandra-3.0 967a2cfe1 -> ce0ec43a0
  refs/heads/trunk 21d4a963d -> 0ec30bcac


ninja fix erroneous error message in CASSANDRA-10109


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

Branch: refs/heads/cassandra-3.0
Commit: ce0ec43a0c4a72fcf55fa7169957ff906ea5746e
Parents: 967a2cf
Author: Benedict Elliott Smith <be...@apache.org>
Authored: Thu Sep 10 14:38:07 2015 +0100
Committer: Benedict Elliott Smith <be...@apache.org>
Committed: Thu Sep 10 14:38:07 2015 +0100

----------------------------------------------------------------------
 src/java/org/apache/cassandra/db/lifecycle/LogTransaction.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/ce0ec43a/src/java/org/apache/cassandra/db/lifecycle/LogTransaction.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/lifecycle/LogTransaction.java b/src/java/org/apache/cassandra/db/lifecycle/LogTransaction.java
index 89d7beb..da6d78d 100644
--- a/src/java/org/apache/cassandra/db/lifecycle/LogTransaction.java
+++ b/src/java/org/apache/cassandra/db/lifecycle/LogTransaction.java
@@ -401,7 +401,8 @@ class LogTransaction extends Transactional.AbstractTransactional implements Tran
                     if (data.verify())
                     {
                         Throwable failure = data.removeUnfinishedLeftovers(null);
-                        logger.error("Failed to remove unfinished transaction leftovers for log {}", log, failure);
+                        if (failure != null)
+                            logger.error("Failed to remove unfinished transaction leftovers for log {}", log, failure);
                     }
                     else
                     {


[2/3] cassandra git commit: ninja fix erroneous error message in CASSANDRA-10109

Posted by be...@apache.org.
ninja fix erroneous error message in CASSANDRA-10109


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

Branch: refs/heads/trunk
Commit: ce0ec43a0c4a72fcf55fa7169957ff906ea5746e
Parents: 967a2cf
Author: Benedict Elliott Smith <be...@apache.org>
Authored: Thu Sep 10 14:38:07 2015 +0100
Committer: Benedict Elliott Smith <be...@apache.org>
Committed: Thu Sep 10 14:38:07 2015 +0100

----------------------------------------------------------------------
 src/java/org/apache/cassandra/db/lifecycle/LogTransaction.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/ce0ec43a/src/java/org/apache/cassandra/db/lifecycle/LogTransaction.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/lifecycle/LogTransaction.java b/src/java/org/apache/cassandra/db/lifecycle/LogTransaction.java
index 89d7beb..da6d78d 100644
--- a/src/java/org/apache/cassandra/db/lifecycle/LogTransaction.java
+++ b/src/java/org/apache/cassandra/db/lifecycle/LogTransaction.java
@@ -401,7 +401,8 @@ class LogTransaction extends Transactional.AbstractTransactional implements Tran
                     if (data.verify())
                     {
                         Throwable failure = data.removeUnfinishedLeftovers(null);
-                        logger.error("Failed to remove unfinished transaction leftovers for log {}", log, failure);
+                        if (failure != null)
+                            logger.error("Failed to remove unfinished transaction leftovers for log {}", log, failure);
                     }
                     else
                     {


[3/3] cassandra git commit: Merge branch 'cassandra-3.0' into trunk

Posted by be...@apache.org.
Merge branch 'cassandra-3.0' into trunk


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

Branch: refs/heads/trunk
Commit: 0ec30bcac8f6b5309cdc4136d391a9ff375ea6e7
Parents: 21d4a96 ce0ec43
Author: Benedict Elliott Smith <be...@apache.org>
Authored: Thu Sep 10 14:38:12 2015 +0100
Committer: Benedict Elliott Smith <be...@apache.org>
Committed: Thu Sep 10 14:38:12 2015 +0100

----------------------------------------------------------------------
 src/java/org/apache/cassandra/db/lifecycle/LogTransaction.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------