RE: supercolumns with TTL columns not being compacted correctly

2012-05-23 Thread Pieter Callewaert
? Kind regards, Pieter Callewaert From: Yuki Morishita [mailto:mor.y...@gmail.com] Sent: dinsdag 22 mei 2012 16:21 To: user@cassandra.apache.org Subject: Re: supercolumns with TTL columns not being compacted correctly Data will not be deleted when those keys appear in other stables outside of

Re: supercolumns with TTL columns not being compacted correctly

2012-05-22 Thread samal
t; I am > >> 100% sure all the data is invalid. > >> > >> > >> > >> Kind regards, > >> > >> Pieter Callewaert > >> > >> > >> > >> From: samal [mailto:samalgo...@gmail.com] > >> Sent: dinsdag 2

Re: supercolumns with TTL columns not being compacted correctly

2012-05-22 Thread Jonathan Ellis
written to the new one, while I am >> 100% sure all the data is invalid. >> >> >> >> Kind regards, >> >> Pieter Callewaert >> >> >> >> From: samal [mailto:samalgo...@gmail.com] >> Sent: dinsdag 22 mei 2012 14:33 >> To: user@cassandra

Re: supercolumns with TTL columns not being compacted correctly

2012-05-22 Thread Jonathan Ellis
to the new one, while I am > 100% sure all the data is invalid. > > > > Kind regards, > > Pieter Callewaert > > > > From: samal [mailto:samalgo...@gmail.com] > Sent: dinsdag 22 mei 2012 14:33 > To: user@cassandra.apache.org > Subject: Re: supercolumns with TTL c

Re: supercolumns with TTL columns not being compacted correctly

2012-05-22 Thread Yuki Morishita
> > > From: samal [mailto:samalgo...@gmail.com] > Sent: dinsdag 22 mei 2012 14:33 > To: user@cassandra.apache.org (mailto:user@cassandra.apache.org) > Subject: Re: supercolumns with TTL columns not being compacted correctly > > > > > Data will remain till next compa

RE: supercolumns with TTL columns not being compacted correctly

2012-05-22 Thread Pieter Callewaert
columns not being compacted correctly Data will remain till next compaction but won't be available. Compaction will delete old sstable create new one. On 22-May-2012 5:47 PM, "Pieter Callewaert" mailto:pieter.callewa...@be-mobile.be>> wrote: Hi, I’ve had my suspicions some

Re: supercolumns with TTL columns not being compacted correctly

2012-05-22 Thread samal
Data will remain till next compaction but won't be available. Compaction will delete old sstable create new one. On 22-May-2012 5:47 PM, "Pieter Callewaert" wrote: > Hi, > > ** ** > > I’ve had my suspicions some months, but I think I am sure about it. > > Data is being written by the SST

supercolumns with TTL columns not being compacted correctly

2012-05-22 Thread Pieter Callewaert
Hi, I've had my suspicions some months, but I think I am sure about it. Data is being written by the SSTableSimpleUnsortedWriter and loaded by the sstableloader. The data should be alive for 31 days, so I use the following logic: int ttl = 2678400; long timestamp = System.currentTimeMillis() * 1