Re: Using writetime in CAS Lightweight transactions

2016-05-11 Thread Bhuvan Rawal
Hi Tyler/Doan, If we have already reached till the cell level and put the LWT condition on it im sure from a design standpoint it shouldnt be really difficult to get the cell write time and verify the same, maybe to be considered in a future release. In this case it looks cleaner and if performanc

Re: Using writetime in CAS Lightweight transactions

2016-05-11 Thread Tyler Hobbs
On Wed, May 11, 2016 at 10:22 AM, DuyHai Doan wrote: > It is not (yet) possible to use functions in LWT predicates. LWT only > supports = and != plus IF (NOT) EXISTS right now > You're correct about functions not being supported, but we do actually support >, >=, <, <=, and IN operators (see htt

Re: Using writetime in CAS Lightweight transactions

2016-05-11 Thread DuyHai Doan
It is not (yet) possible to use functions in LWT predicates. LWT only supports = and != plus IF (NOT) EXISTS right now Le 11 mai 2016 16:50, "Bhuvan Rawal" a écrit : > Hi, > > I was working on maintaining counters in cassandra, I read that it is not > 100% accurate, I have tested them to be extre

Using writetime in CAS Lightweight transactions

2016-05-11 Thread Bhuvan Rawal
Hi, I was working on maintaining counters in cassandra, I read that it is not 100% accurate, I have tested them to be extremely accurate with 3.0.5 but going by docs there may be slight in accuracy. Thinking about this I thought there may be 2 approaches to resolve this: 1. Read the existing coun