Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/src/java/org/apache/cassandra/config/CFMetaData.java b/src/java/org/apache/cassandra/config/CFMetaData.java
index 8bb5ccf..bd586e3 100644
--- a/src/java/org/apache/cassandra/config/CFMetaData.java
+++ b/src/java/org/apache/cassandra/config/CFMetaData.java
@@ -178,7 +178,7 @@ public final class CFMetaData
+ "mutation blob,"
+ "PRIMARY KEY (target_id, hint_id, message_version)"
+ ") WITH COMPACT STORAGE "
- + "AND COMPACTION={'class' : 'SizeTieredCompactionStrategy', 'enabled' : false} "
+ + "AND COMPACTION={'class' : 'DateTieredCompactionStrategy', 'enabled' : false, 'unchecked_tombstone_compaction' : true} "
+ "AND COMMENT='hints awaiting delivery'"
+ "AND gc_grace_seconds=0");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment