You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Adam Hattrell (JIRA)" <ji...@apache.org> on 2013/08/09 17:23:49 UTC
[jira] [Comment Edited] (CASSANDRA-5866) compaction_strategy_class
ignored during table creation in 1.2.8
[ https://issues.apache.org/jira/browse/CASSANDRA-5866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13734897#comment-13734897 ]
Adam Hattrell edited comment on CASSANDRA-5866 at 8/9/13 3:23 PM:
------------------------------------------------------------------
Oops didn't notice that.
Should we not give an error if the syntax is not supported in 3 though?
was (Author: ahattrell):
Should we not give an error if the syntax is not supported in 3?
> 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