[ 
https://issues.apache.org/jira/browse/CASSANDRA-7185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13993022#comment-13993022
 ] 

Brandon Williams commented on CASSANDRA-7185:
---------------------------------------------

That's wrong too then, see CASSANDRA-7187.  cc [~thobbs] for the doc.

{noformat}
cqlsh:foo> ALTER TABLE bar WITH compaction = {'class': 
'SizeTieredCompactionStrategy', 'max_threshold': 0, 'min_threshold': 0};
Bad Request: Disabling compaction by setting compaction thresholds to 0 has 
been deprecated, set the compaction option 'enabled' to false instead.
{noformat}

> cqlsh can't tab-complete disabling compaction
> ---------------------------------------------
>
>                 Key: CASSANDRA-7185
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7185
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Brandon Williams
>            Assignee: Mikhail Stepura
>            Priority: Trivial
>             Fix For: 2.0.9, 2.1 rc1
>
>         Attachments: CASSANDRA-2.0-7185.patch
>
>
> cqlsh can't tab-complete the following case where you want to disable 
> compaction:
> {noformat}
> alter table keys with compaction = {'class': 'SizeTieredCompactionStrategy', 
> 'enabled': 'false'}
> {noformat}
> Specfically it doesn't know 'enabled' is a valid option.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to