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

Jonathan Ellis commented on CASSANDRA-4795:
-------------------------------------------

bq. So in the case of Titan when they just want to save one 'last seen version' 
attribute, creating a separate column family or even having that per-cf doesn't 
make any sense but it's pretty convenient to keep it in the keypsace strategy 
options (without have any other alternatives) because it's not updated or even 
read that often.

No doubt everyone practicing this extremely awful hack has a perfectly good 
excuse. :)

But fundamentally creating a last_seen_versions table with cfname (ksname?) is 
simply not that onerous and is the Right Thing To Do.

bq. patch 00003 is my suggestion for an alternative to the problem "I want to 
attach some tiny piece of metadata to a keyspace and creating a CF for that is 
overkill"

-1 from me, I get that change is painful for people who are abusing schema 
right now but we really shouldn't be encouraging this.
                
> 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: 0001-Reallow-unexpected-strategy-options-for-thrift.txt, 
> 0002-Reallow-unexpected-strategy-options-for-thrift.txt, 
> 0003-Adds-application_metadata-field-to-ks-metadata.txt, 
> 4795.compaction_strategy.txt, 4795_compaction_strategy_v2.txt, 
> 4795_compaction_strategy_v3.txt, 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