cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject cassandra git commit: fix wrong variable in warning message
Date Tue, 26 May 2015 04:43:12 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.0 be9eff573 -> 5a571c629


fix wrong variable in warning message


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

Branch: refs/heads/cassandra-2.0
Commit: 5a571c6291678d7f92c120d1f9b366374e51c07d
Parents: be9eff5
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Tue May 26 00:42:58 2015 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Tue May 26 00:42:58 2015 -0400

----------------------------------------------------------------------
 src/java/org/apache/cassandra/db/compaction/Scrubber.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/5a571c62/src/java/org/apache/cassandra/db/compaction/Scrubber.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/compaction/Scrubber.java b/src/java/org/apache/cassandra/db/compaction/Scrubber.java
index e5bcd25..ea10855 100644
--- a/src/java/org/apache/cassandra/db/compaction/Scrubber.java
+++ b/src/java/org/apache/cassandra/db/compaction/Scrubber.java
@@ -199,7 +199,7 @@ public class Scrubber implements Closeable
                         throw new IOError(new IOException("Impossible row size (greater than
file length): " + dataSize));
 
                     if (dataStart != dataStartFromIndex)
-                        outputHandler.warn(String.format("Data file row position %d differs
from index file row position %d", dataStart, dataSizeFromIndex));
+                        outputHandler.warn(String.format("Data file row position %d differs
from index file row position %d", dataStart, dataStartFromIndex));
 
                     if (dataSize != dataSizeFromIndex)
                         outputHandler.warn(String.format("Data file row size %d differs from
index file row size %d", dataSize, dataSizeFromIndex));


Mime
View raw message