cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yu...@apache.org
Subject git commit: Disable background compaction on hints; patch by yukim/jbellis, reviewed by jbellis for CASSANDRA-4435
Date Thu, 19 Jul 2012 16:53:12 GMT
Updated Branches:
  refs/heads/trunk 7af91424d -> 8f40f38e1


Disable background compaction on hints; patch by yukim/jbellis, reviewed
by jbellis for CASSANDRA-4435


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

Branch: refs/heads/trunk
Commit: 8f40f38e1a2c4ceb0dc07089dd5ccbf036529c67
Parents: 7af9142
Author: Yuki Morishita <yukim@apache.org>
Authored: Thu Jul 19 11:41:40 2012 -0500
Committer: Yuki Morishita <yukim@apache.org>
Committed: Thu Jul 19 11:41:40 2012 -0500

----------------------------------------------------------------------
 .../org/apache/cassandra/config/CFMetaData.java    |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/8f40f38e/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 fb9ae88..b619ccf 100644
--- a/src/java/org/apache/cassandra/config/CFMetaData.java
+++ b/src/java/org/apache/cassandra/config/CFMetaData.java
@@ -151,7 +151,10 @@ public final class CFMetaData
                                                          + "message_version int,"
                                                          + "mutation blob,"
                                                          + "PRIMARY KEY (target_id, hint_id,
message_version)"
-                                                         + ") WITH COMPACT STORAGE AND COMMENT='hints
awaiting delivery'");
+                                                         + ") WITH COMPACT STORAGE "
+                                                         + "AND COMPACTION_STRATEGY_OPTIONS:MIN_COMPACTION_THRESHOLD=0
"
+                                                         + "AND COMPACTION_STRATEGY_OPTIONS:MAX_COMPACTION_THRESHOLD=0
"
+                                                         + "AND COMMENT='hints awaiting delivery'");
 
     public static final CFMetaData PeersCf = compile(12, "CREATE TABLE " + SystemTable.PEERS_CF
+ " ("
                                                          + "token_bytes blob PRIMARY KEY,"


Mime
View raw message