[
https://issues.apache.org/jira/browse/CASSANDRA-14846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16670436#comment-16670436
]
Jon Haddad edited comment on CASSANDRA-14846 at 10/31/18 5:41 PM:
------------------------------------------------------------------
Agreed with the premise, [~benedict]. We should definitely not resurrect data.
That said, by fixing this bug, are we removing a means of recovery? I have no
idea if anyone relies on this odd behavior if they drop a column by accident
then re-add it.
Something to consider, at least.
was (Author: rustyrazorblade):
Agreed with the premise, [~benedict]. We should definitely not resurrect data.
That said, by fixing this bug, are we removing a means of recovery? I have no
idea if anyone relies on this odd behavior. Something to consider.
> Drop/Add Column Pre-existing Data Inconsistency
> -----------------------------------------------
>
> Key: CASSANDRA-14846
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14846
> Project: Cassandra
> Issue Type: Bug
> Reporter: Benedict
> Priority: Major
>
> If we drop a column, any data that is compacted before we add a column with
> the same name (and compatible type) will be lost, but any data that was not
> compacted will continue to be returned. This seems problematic - surely we
> should consider all data prior to a Drop to be lost? Re-adding a column of
> the same name should reset the column’s contents?
> This would also permit us to not worry about the types being consistent in
> the case of a dropped column (only alter column need worry about this)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]