You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Arya Goudarzi (JIRA)" <ji...@apache.org> on 2013/04/02 03:41:15 UTC

[jira] [Created] (CASSANDRA-5411) Unexpired hints can potentially create previously deleted rows

Arya Goudarzi created CASSANDRA-5411:
----------------------------------------

             Summary: Unexpired hints can potentially create previously deleted rows
                 Key: CASSANDRA-5411
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5411
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.1.10
         Environment: Ubuntu 10.04
            Reporter: Arya Goudarzi


Per discussion here: http://www.mail-archive.com/user@cassandra.apache.org/msg28905.html

Hits are TTLed to lowest gc_grace_seconds. If we have hints that are not replayed, and the administrator updates schema to have lower gc_grace seconds on some CF, chances are compactions will delete tombstones and history of delete gets lost. If the deleted row is in some hints CF, since the TTL is not updated, chances are it gets replayed and the deleted row comes back to life. 

I think it would be nice as part of schema migration, to also update the TTLs on hints that already exists on any nodes hints column family. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira