You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by yu...@apache.org on 2014/07/07 18:11:40 UTC
git commit: Update SSTable decriptor version for 3.0
Repository: cassandra
Updated Branches:
refs/heads/trunk e28cc6354 -> 871de53a8
Update SSTable decriptor version for 3.0
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/871de53a
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/871de53a
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/871de53a
Branch: refs/heads/trunk
Commit: 871de53a83639922d6dcbe0b5a0c52ddc7591fe2
Parents: e28cc63
Author: Yuki Morishita <yu...@apache.org>
Authored: Mon Jul 7 11:10:49 2014 -0500
Committer: Yuki Morishita <yu...@apache.org>
Committed: Mon Jul 7 11:11:22 2014 -0500
----------------------------------------------------------------------
src/java/org/apache/cassandra/io/sstable/Descriptor.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/871de53a/src/java/org/apache/cassandra/io/sstable/Descriptor.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/io/sstable/Descriptor.java b/src/java/org/apache/cassandra/io/sstable/Descriptor.java
index db5b60c..6911b48 100644
--- a/src/java/org/apache/cassandra/io/sstable/Descriptor.java
+++ b/src/java/org/apache/cassandra/io/sstable/Descriptor.java
@@ -50,7 +50,7 @@ public class Descriptor
public static class Version
{
// This needs to be at the begining for initialization sake
- public static final String current_version = "ka";
+ public static final String current_version = "la";
// ja (2.0.0): super columns are serialized as composites (note that there is no real format change,
// this is mostly a marker to know if we should expect super columns or not. We do need
@@ -63,10 +63,10 @@ public class Descriptor
// jb (2.0.1): switch from crc32 to adler32 for compression checksums
// checksum the compressed data
// ka (2.1.0): new Statistics.db file format
- // new file name format
// index summaries can be downsampled and the sampling level is persisted
// switch uncompressed checksums to adler32
// tracks presense of legacy (local and remote) counter shards
+ // la (3.0.0): new file name format
public static final Version CURRENT = new Version(current_version);
@@ -91,7 +91,7 @@ public class Descriptor
hasAllAdlerChecksums = version.compareTo("ka") >= 0;
hasRepairedAt = version.compareTo("ka") >= 0;
tracksLegacyCounterShards = version.compareTo("ka") >= 0;
- newFileName = version.compareTo("ka") >= 0;
+ newFileName = version.compareTo("la") >= 0;
}
/**