Re: Mixing CAS and TTL.

2014-02-25 Thread J Robert Ray
s. > > > On Tue, Feb 25, 2014 at 9:02 AM, J Robert Ray wrote: > >> Thanks Daniel. >> >> I am taking care to only expire the one column. There are other columns >> so my row isn't completely deleted. >> On Feb 24, 2014 11:37 PM, "Daniel Shelepov"

RE: Mixing CAS and TTL.

2014-02-25 Thread J Robert Ray
ning INSERT IF NOT EXISTS > queries instead of UPDATE IF col=null. > > > > If the row is not completely deleted when TTL expires, then the behavior > is definitely fishy, and should probably be filed as a bug. > > > > To your other question, once a TTL update is expired, you ca

Mixing CAS and TTL.

2014-02-24 Thread J Robert Ray
Hi, I am trying to mix CAS and TTL and am wondering if this behavior that I am seeing is expected. I'm on 2.0.2 and using the java datastax 2.0.0-rc3 client. In my application, a server "claims" a row by assigning a value to a row using CAS, expecting the column to start out null. The column has