[ https://issues.apache.org/jira/browse/CASSANDRA-12792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15636900#comment-15636900 ]
Branimir Lambov commented on CASSANDRA-12792: --------------------------------------------- You need the same logic for sstables as well: If you have sstables and they all don't have the row, you will go into the 'else' with {{Long.MAX_VALUE}} instead of always true. > delete with timestamp long.MAX_VALUE for the whole key creates tombstone that > cannot be removed. > ------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-12792 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12792 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Reporter: Ian Ilsley > Assignee: Joel Knighton > > In db/compaction/LazilyCompactedRow.java > we only check for < MaxPurgeableTimeStamp > eg: > (this.maxRowTombstone.markedForDeleteAt < getMaxPurgeableTimestamp()) > this should probably be <= -- This message was sent by Atlassian JIRA (v6.3.4#6332)