Aleksey Yeschenko created CASSANDRA-6844:
--------------------------------------------

             Summary: Expired cells not converted to deleted cells during 
cleanup/scrub/compaction (sometimes)
                 Key: CASSANDRA-6844
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6844
             Project: Cassandra
          Issue Type: Bug
            Reporter: Aleksey Yeschenko
            Assignee: Aleksey Yeschenko


On read path, we intentionally read expiring cells as expiring cells, never 
converting them to tombstones, to return consistent results to the clients.

For compaction/cleanup/scrub we don't care about that, and are supposed to make 
the conversion as an optimization. However, somewhere along the way it got 
lost, and SSTII doesn't always do it now in 2.0 (and never does it in 2.1).

SSTI.getColumnFamilyWithColumns() passes the correct expireBefore(), but 
SSTI.next() does not, and while we use both in 2.0, depending on the some 
factors, in 2.1 we only use SSTI.next(), and SSTI.getColumnFamilyWithColumns() 
is actually dead code (I will remove it during the 2.1 merge).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to