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

Dave Brosius commented on CASSANDRA-4795:
-----------------------------------------

so, for compaction options, it appears to me that you can't create a 
CompactionStrategy object to do validation, because the ColumnFamilyStore needs 
to exist for the ACS constructor, which means it's too late to safe guard 
invalid options, right?

The validation would need to be in CFMetaData i think, and CFMetaData would 
validate options needed by fetching the valid set from a static call thru 
reflection on the compactionStrategyClass....

which seems ugly... so am i missing something easier?
                
> replication, compaction, compression? options are not validated
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-4795
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4795
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: Brandon Williams
>            Assignee: Dave Brosius
>            Priority: Minor
>             Fix For: 1.2.1
>
>         Attachments: 4795.replication_strategy.txt
>
>
> When creating a keyspace and specifying strategy options, you can pass any 
> k/v pair you like.

--
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

Reply via email to