cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marc...@apache.org
Subject cassandra git commit: Pending repair info was added in 4.0
Date Thu, 13 Apr 2017 11:40:04 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 7da45312a -> 02ded0194


Pending repair info was added in 4.0

Patch by marcuse; reviewed by Blake Eggleston for CASSANDRA-13420


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

Branch: refs/heads/trunk
Commit: 02ded019475efdd1331ac908c33dd05d42ba9368
Parents: 7da4531
Author: Marcus Eriksson <marcuse@apache.org>
Authored: Wed Apr 5 09:29:07 2017 +0200
Committer: Marcus Eriksson <marcuse@apache.org>
Committed: Thu Apr 13 13:38:49 2017 +0200

----------------------------------------------------------------------
 .../org/apache/cassandra/io/sstable/format/big/BigFormat.java   | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/02ded019/src/java/org/apache/cassandra/io/sstable/format/big/BigFormat.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/io/sstable/format/big/BigFormat.java b/src/java/org/apache/cassandra/io/sstable/format/big/BigFormat.java
index 9b0b5c5..a58b201 100644
--- a/src/java/org/apache/cassandra/io/sstable/format/big/BigFormat.java
+++ b/src/java/org/apache/cassandra/io/sstable/format/big/BigFormat.java
@@ -119,9 +119,8 @@ public class BigFormat implements SSTableFormat
         //             store rows natively
         // mb (3.0.7, 3.7): commit log lower bound included
         // mc (3.0.8, 3.9): commit log intervals included
-        // md (3.0.9, 3.10): pending repair session included
 
-        // na (4.0.0): uncompressed chunks
+        // na (4.0.0): uncompressed chunks, pending repair session
         //
         // NOTE: when adding a new version, please add that to LegacySSTableTest, too.
 
@@ -142,7 +141,7 @@ public class BigFormat implements SSTableFormat
             hasCommitLogLowerBound = version.compareTo("mb") >= 0;
             hasCommitLogIntervals = version.compareTo("mc") >= 0;
             hasMaxCompressedLength = version.compareTo("na") >= 0;
-            hasPendingRepair = version.compareTo("md") >= 0;
+            hasPendingRepair = version.compareTo("na") >= 0;
         }
 
         @Override


Mime
View raw message