cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-6844) Expired cells not converted to deleted cells during cleanup/scrub/compaction (sometimes)
Date Wed, 12 Mar 2014 13:59:43 GMT
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)

Mime
View raw message