cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Hattrell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-5866) compaction_strategy_class ignored during table creation in 1.2.8
Date Fri, 09 Aug 2013 08:50:47 GMT
Adam Hattrell created CASSANDRA-5866:
----------------------------------------

             Summary: 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
         Environment: Centos
            Reporter: Adam Hattrell
            Priority: Minor


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

Mime
View raw message