cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [01/10] git commit: Configure system.paxos with LeveledCompactionStrategy patch by Sankalp Kohli; reviewed by jbellis for CASSANDRA-7753
Date Wed, 20 Aug 2014 17:01:53 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.0 a4e108c40 -> 44cfd958a
  refs/heads/cassandra-2.1 8d494c782 -> ab45a78d6
  refs/heads/cassandra-2.1.0 d3450570c -> da4578678
  refs/heads/trunk 0f530413c -> 753ccff52


Configure system.paxos with LeveledCompactionStrategy
patch by Sankalp Kohli; reviewed by jbellis for CASSANDRA-7753


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

Branch: refs/heads/cassandra-2.0
Commit: 44cfd958a4b59c2e13881b42e2ba34db64dd64e8
Parents: a4e108c
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Wed Aug 20 10:00:34 2014 -0700
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Wed Aug 20 10:00:34 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/44cfd958/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 94bdd89..17c0671 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.0.10
+ * Configure system.paxos with LeveledCompactionStrategy (CASSANDRA-7753)
  * Fix ALTER clustering column type from DateType to TimestampType when
    using DESC clustering order (CASSANRDA-7797)
  * Stop inheriting liveRatio and liveRatioComputedAt from previous

http://git-wip-us.apache.org/repos/asf/cassandra/blob/44cfd958/src/java/org/apache/cassandra/config/CFMetaData.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/config/CFMetaData.java b/src/java/org/apache/cassandra/config/CFMetaData.java
index 296ecce..07c696f 100644
--- a/src/java/org/apache/cassandra/config/CFMetaData.java
+++ b/src/java/org/apache/cassandra/config/CFMetaData.java
@@ -260,7 +260,8 @@ public final class CFMetaData
                                                      + "most_recent_commit_at timeuuid,"
                                                      + "most_recent_commit blob,"
                                                      + "PRIMARY KEY (row_key, cf_id)"
-                                                     + ") WITH COMMENT='in-progress paxos
proposals'");
+                                                     + ") WITH COMMENT='in-progress paxos
proposals' "
+                                                     + "AND COMPACTION={'class' : 'LeveledCompactionStrategy'}");
 
     public static final CFMetaData SSTableActivityCF = compile("CREATE TABLE " + SystemKeyspace.SSTABLE_ACTIVITY_CF
+ " ("
                                                                + "keyspace_name text,"


Mime
View raw message