It's not that simple, unless you have an append-only workload. (See discussion on https://issues.apache.org/jira/browse/CASSANDRA-3974.)
On Wed, Apr 18, 2012 at 4:57 AM, Radim Kolar <h...@filez.com> wrote: > >> Any compaction pass over A will first convert the TTL data into >> tombstones. >> >> Then, any subsequent pass that includes A *and all other sstables >> containing rows with the same key* will drop the tombstones. > > thats why i proposed to attach TTL to entire CF. Tombstones would not be > needed -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com