Disable background compaction on hints; patch by yukim/jbellis, reviewed

by jbellis for CASSANDRA-4435
This commit is contained in:
Yuki Morishita 2012-07-19 11:41:40 -05:00
parent 7af91424d9
commit 8f40f38e1a
1 changed files with 4 additions and 1 deletions

View File

@ -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,"