incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shahryar Sedghi <>
Subject Re: CQL update and TTL
Date Fri, 26 Apr 2013 15:40:12 GMT
The issue is,  I can get the original TTL using the select and use it for
the update, however since TTL can not be dynamic (using ?) it will exhaust
the  prepared statement cache, because I have tons of updates like this and
every one will have a different signature due to changing TTL. I am using
1.2.3 now.


On Fri, Apr 26, 2013 at 11:35 AM, Alain RODRIGUEZ <>wrote:

> This seems to be the correct behavior. An update refreshes the TTL, as it
> does in memcache for example. Yet, what I do not know is whether this
> behavior can be changed somehow to let the initial TTL, this might be
> useful on some use cases.
> Alain
> 2013/4/26 Shahryar Sedghi <>
>> Apparently when I update a column using CQL that already has a TTL, it
>> resets the TTL to null, so if there was already a TTL for all columns that
>> I inserted part of a composite column set, this specific column that I
>> updated will not expire while the others are are getting expired. Is it how
>> it is expected to work or it is a bug?
>> Thanks in advance
>> Shahryar

"Life is what happens while you are making other plans." ~ John Lennon

View raw message