[
https://issues.apache.org/jira/browse/CASSANDRA-5866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13734933#comment-13734933
]
Aleksey Yeschenko commented on CASSANDRA-5866:
----------------------------------------------
For the record - these obsolete keywords are now being rejected altogether in
2.0.0 (since 2bcfab03c6621114178cd3c248667373bc6a970a).
> compaction_strategy_class ignored during table creation in 1.2.8
> ----------------------------------------------------------------
>
> Key: CASSANDRA-5866
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5866
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: Centos
> Reporter: Adam Hattrell
> Assignee: Aleksey Yeschenko
> Priority: Minor
> Fix For: 1.2.9
>
> Attachments: 5866-1.2.txt
>
>
> Creating a table with LeveledCompactionStrategy in 1.2.8 seems to ignore it's
> compaction_strategy_class.
> CREATE KEYSPACE activities WITH strategy_class = 'SimpleStrategy'
> AND strategy_options:replication_factor = '1';
> USE activities;
> CREATE TABLE activity (
> KEY blob PRIMARY KEY
> )
> WITH compaction_strategy_class='LeveledCompactionStrategy';
> echo 'DESCRIBE KEYSPACE activities;' | cqlsh
> Shows:
> compaction_strategy_class='SizeTieredCompactionStrategy'
> If you update it with
> ALTER TABLE activity with
> compaction_strategy_class='LeveledCompactionStrategy' ;
> Then the describe will now return correct results.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira