Re: Expired column showing up

2014-02-18 Thread mahesh rajamani
I upgraded the Cassandra to 2.0.5, these issues did not occur so far. Thanks Mahesh On Mon, Feb 17, 2014 at 1:43 PM, mahesh rajamani wrote: > Christian, > > There are 2 use cases which are failing, and both looks to be similar > issue, basically happens in column family set with TTL. > > case

Re: Expired column showing up

2014-02-17 Thread mahesh rajamani
Christian, There are 2 use cases which are failing, and both looks to be similar issue, basically happens in column family set with TTL. case 1) I manage index for specific data as single row in a column family. I set TTL to 1 second if the data need to be removed from the index row. Under some

Re: Expired column showing up

2014-02-17 Thread horschi
Hi Mahesh, the problem is that every column is only tombstoned for as long as the original column was valid. So if the last update was only valid for 1 sec, then the tombstone will also be valid for 1 second! If the previous was valid for a longer time, then this old value might reappear. Maybe

Re: Expired column showing up

2014-02-17 Thread mahesh rajamani
Christain, Yes. Is it a problem? Can you explain what happens in this scenario? Thanks Mahesh On Fri, Feb 14, 2014 at 3:07 PM, horschi wrote: > Hi Mahesh, > > is it possible you are creating columns with a long TTL, then update these > columns with a smaller TTL? > > kind regards, > Christia

Re: Expired column showing up

2014-02-14 Thread Jacob Rhoden
It is my understanding that rows with TTLs don't mix well with rows that don't have TTLs. ie they should all have TTL or all not have TTL. That said if you can create a small java class (test case) that demonstrates the problem, I'm happy to try it out on 2.0.5. This code can be attached to a

Re: Expired column showing up

2014-02-14 Thread horschi
Hi Mahesh, is it possible you are creating columns with a long TTL, then update these columns with a smaller TTL? kind regards, Christian On Fri, Feb 14, 2014 at 3:45 PM, mahesh rajamani wrote: > Hi, > > I am using Cassandra 2.0.2 version. On a wide row (approx. 1 columns), > I expire few

Re: Expired column showing up

2014-02-14 Thread Edward Capriolo
You should upgrade. Cassandra 2.0.2 is not the latest version. If you still have the problem report a bug. On Fri, Feb 14, 2014 at 12:50 PM, Yogi Nerella wrote: > I am just learning, I don't know answer to your question, but What is the > use case for TTL as 1 second? > > > > > On Fri, Feb 14, 2

Re: Expired column showing up

2014-02-14 Thread Yogi Nerella
I am just learning, I don't know answer to your question, but What is the use case for TTL as 1 second? On Fri, Feb 14, 2014 at 6:45 AM, mahesh rajamani wrote: > Hi, > > I am using Cassandra 2.0.2 version. On a wide row (approx. 1 columns), > I expire few column by setting TTL as 1 second.

Expired column showing up

2014-02-14 Thread mahesh rajamani
Hi, I am using Cassandra 2.0.2 version. On a wide row (approx. 1 columns), I expire few column by setting TTL as 1 second. At times these columns show up during slice query. When I have this issue, running count and get commands for that row using Cassandra cli it gives different column count