incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Coli <rc...@digg.com>
Subject Re: one question about cassandra write
Date Fri, 06 Aug 2010 22:16:54 GMT
On 8/6/10 2:13 PM, Benjamin Black wrote:
> Assuming the old version is already on disk in an SSTable, the new
> version will not overwrite it, and both versions will be in the
> system.  A compaction will remove the old version, however.

To be clear, a compaction will only remove the old version if :

a) It is a major compaction [1]
b) The old version was deleted/overwritten more than GCGraceSeconds ago [2]

=Rob

[1] https://issues.apache.org/jira/browse/CASSANDRA-1074
[2] http://wiki.apache.org/cassandra/DistributedDeletes

Mime
View raw message