You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Tunnicliffe (Jira)" <ji...@apache.org> on 2024/11/18 10:23:00 UTC

[jira] [Commented] (CASSANDRA-18961) Record commit timestamp - fix data loss when dropping and recreating a column

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

Sam Tunnicliffe commented on CASSANDRA-18961:
---------------------------------------------

Rebased the patch [~marcuse] linked too and added a bump to the metadata serialization version. 
CI looks decent too, so I think this is more or less where it needs to be. 

> Record commit timestamp - fix data loss when dropping and recreating a column
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18961
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18961
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Transactional Cluster Metadata
>            Reporter: Jacek Lewandowski
>            Assignee: Jacek Lewandowski
>            Priority: Normal
>         Attachments: ci_summary-1.html, ci_summary.html
>
>
> Drop column transformation is replayed with the current timestamp so the column appears to be dropped when the node starts regardless of its real drop time.
> As a solution to this problem I propose recording the timestamp of the transformation, guaranteeing that it is always greater than a timestamp of any previously committed transformation. Such timestamp is passed to the execute method of the transformation so that the transformation code can make use of it, increasing its "purity".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org