incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: minor compaction and delete expired column-tombstones
Date Mon, 17 Sep 2012 08:12:10 GMT
> Does minor compaction delete expired column-tombstones when the row is
> also present in another table which is
No. 
Compaction is per Column Family. 

Tombstones will be expired by Minor Compaction if all fragments of the row are contained in
the SSTables being compacted. 

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 15/09/2012, at 6:32 AM, Rene Kochen <rene.kochen@schange.com> wrote:

> Hi all,
> 
> Does minor compaction delete expired column-tombstones when the row is
> also present in another table which is not subject to the minor
> compaction?
> 
> Example:
> 
> Say there are 5 SStables:
> 
> - Customers_0 (10 MB)
> - Customers_1 (10 MB)
> - Customers_2 (10 MB)
> - Customers_3 (10 MB)
> - Customers_4 (30 MB)
> 
> A minor compaction is triggered which will compact the similar sized
> tables 0 to 3. In these tables is a customer record with key "C1" with
> an expired column tombstone. Customer "C1" is also present in table 4.
> Will the minor compaction delete the column (i.e. will the tombstone
> be present in the newly created table)?
> 
> Thanks,
> 
> Rene


Mime
View raw message