mirror of https://github.com/apache/cassandra
Remove the vestiges of default_{read,write}_consistency
This commit is contained in:
parent
2a8379372e
commit
cb0a0cd2f8
|
|
@ -503,10 +503,6 @@ def cf_new_prop_val_completer(ctxt, cass):
|
|||
if this_opt in ('min_compaction_threshold', 'max_compaction_threshold',
|
||||
'gc_grace_seconds'):
|
||||
return [Hint('<integer>')]
|
||||
if this_opt == 'default_read_consistency':
|
||||
return [cl for cl in CqlRuleSet.consistency_levels if cl != 'ANY']
|
||||
if this_opt == 'default_write_consistency':
|
||||
return CqlRuleSet.consistency_levels
|
||||
return [Hint('<option_value>')]
|
||||
|
||||
def cf_new_prop_val_mapkey_completer(ctxt, cass):
|
||||
|
|
|
|||
|
|
@ -136,8 +136,6 @@ public final class CFMetaData
|
|||
+ "value_alias text,"
|
||||
+ "column_aliases text,"
|
||||
+ "compaction_strategy_options text,"
|
||||
+ "default_read_consistency text,"
|
||||
+ "default_write_consistency text,"
|
||||
+ "PRIMARY KEY (keyspace_name, columnfamily_name)"
|
||||
+ ") WITH COMMENT='ColumnFamily definitions' AND gc_grace_seconds=8640");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue