[
https://issues.apache.org/jira/browse/CASSANDRA-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869364#action_12869364
]
Gary Dusbabek commented on CASSANDRA-932:
-----------------------------------------
scratch that. I think it is too much work to chew off.
> Use cfids instead of cfnames for major operations.
> --------------------------------------------------
>
> Key: CASSANDRA-932
> URL: https://issues.apache.org/jira/browse/CASSANDRA-932
> Project: Cassandra
> Issue Type: Improvement
> Affects Versions: 0.7
> Reporter: Gary Dusbabek
> Assignee: Stu Hood
> Fix For: 0.7
>
> Attachments: 0001-Remove-redundant-cfNamesMap-in-Table.patch,
> 0002-Add-easy-reverse-lookup-from-id-cf.patch,
> 0003-Remove-name-field-from-ColumnFamily-and-clean-up-mem.patch
>
>
> CF.id() should be used in place of CF.name() for looking up column families.
> In pragmatic terms this means that:
> * maps that store CF or CFS should use id as the key.
> * CF.name() should be eliminated and replaced by a toString() that includes
> the cfid and name.
> * other things I can't immediately think of.
> We might even go so far as to change the way we name the sstable files to use
> cfid instead of name. This would make renaming CFs a simpler (and quicker)
> operation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.