mirror of https://github.com/apache/cassandra
Set gc_grace_seconds to 7 days for system schema tables
Patch by Tyler Hobbs; review by Aleksey Yeschenko for CASSANDRA-7668
This commit is contained in:
parent
ee2ed3c811
commit
0dd39c6a55
|
|
@ -1,4 +1,5 @@
|
|||
1.2.19
|
||||
* Set gc_grace_seconds to seven days for system schema tables (CASSANDRA-7668)
|
||||
* SimpleSeedProvider no longer caches seeds forever (CASSANDRA-7663)
|
||||
* Set correct stream ID on responses when non-Exception Throwables
|
||||
are thrown while handling native protocol messages (CASSANDRA-7470)
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ public final class CFMetaData
|
|||
+ "durable_writes boolean,"
|
||||
+ "strategy_class text,"
|
||||
+ "strategy_options text"
|
||||
+ ") WITH COMPACT STORAGE AND COMMENT='keyspace definitions' AND gc_grace_seconds=8640");
|
||||
+ ") WITH COMPACT STORAGE AND COMMENT='keyspace definitions' AND gc_grace_seconds=604800");
|
||||
|
||||
public static final CFMetaData SchemaColumnFamiliesCf = compile(9, "CREATE TABLE " + SystemTable.SCHEMA_COLUMNFAMILIES_CF + "("
|
||||
+ "keyspace_name text,"
|
||||
|
|
@ -137,7 +137,7 @@ public final class CFMetaData
|
|||
+ "column_aliases text,"
|
||||
+ "compaction_strategy_options text,"
|
||||
+ "PRIMARY KEY (keyspace_name, columnfamily_name)"
|
||||
+ ") WITH COMMENT='ColumnFamily definitions' AND gc_grace_seconds=8640");
|
||||
+ ") WITH COMMENT='ColumnFamily definitions' AND gc_grace_seconds=604800");
|
||||
|
||||
public static final CFMetaData SchemaColumnsCf = compile(10, "CREATE TABLE " + SystemTable.SCHEMA_COLUMNS_CF + "("
|
||||
+ "keyspace_name text,"
|
||||
|
|
@ -149,7 +149,7 @@ public final class CFMetaData
|
|||
+ "index_name text,"
|
||||
+ "component_index int,"
|
||||
+ "PRIMARY KEY(keyspace_name, columnfamily_name, column_name)"
|
||||
+ ") WITH COMMENT='ColumnFamily column attributes' AND gc_grace_seconds=8640");
|
||||
+ ") WITH COMMENT='ColumnFamily column attributes' AND gc_grace_seconds=604800");
|
||||
|
||||
public static final CFMetaData HintsCf = compile("CREATE TABLE " + SystemTable.HINTS_CF + " ("
|
||||
+ "target_id uuid,"
|
||||
|
|
|
|||
Loading…
Reference in New Issue