You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2014/03/27 15:17:15 UTC

[jira] [Resolved] (CASSANDRA-6940) Consider removing user types rename for now

     [ https://issues.apache.org/jira/browse/CASSANDRA-6940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne resolved CASSANDRA-6940.
-----------------------------------------

    Resolution: Fixed

Alright then, I've committed the removal (which was trivial). Let's revisit later if people have compelling arguments for it.

> Consider removing user types rename for now
> -------------------------------------------
>
>                 Key: CASSANDRA-6940
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6940
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 2.1 beta2
>
>
> When adding user types we've added the ability to do type renames. And while this kind of work, I'm starting to think that this will be hard to handle by clients drivers, especially since we can't really have a "type renamed" notification easily since internally we really handle the renaming as a drop + a add + a bunch of updates to the tables that were mentioning the type.
> Besides, it feels like a bad idea in general to rename a type once it's been used in some tables (and if it's not used yet, then it's easy to drop and recreate with the new name).
> So since 2.1 is not out yet, I would suggest that maybe it's wiser to remove type renaming for now, which doesn't at all preclude re-evaluating this a tad later when we have a little more experience with user types (and have a little more data point on whether this could actually be more useful than harmful).



--
This message was sent by Atlassian JIRA
(v6.2#6252)