cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-12443) Remove alter type support
Date Fri, 20 Jan 2017 20:23:26 GMT

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

Benjamin Lerer resolved CASSANDRA-12443.
----------------------------------------
    Resolution: Fixed

Committed the followup patch into 3.0 at f3b452c54dea0366436ebe2bceac747bdf599e90 and merged
into 3.11 and trunk

> Remove alter type support
> -------------------------
>
>                 Key: CASSANDRA-12443
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12443
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Carl Yeksigian
>            Assignee: Benjamin Lerer
>             Fix For: 3.0.11, 3.10
>
>
> Currently, we allow altering of types. However, because we no longer store the length
for all types anymore, switching from a fixed-width to variable-width type causes issues.
commitlog playback breaking startup, queries currently in flight getting back bad results,
and special casing required to handle the changes. In addition, this would solve CASSANDRA-10309,
as there is no possibility of the types changing while an SSTableReader is open.
> For fixed-length, compatible types, the alter also doesn't add much over a cast, so users
could use that in order to retrieve the altered type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message