CAS operation does not return value on failure

2016-05-04 Thread horschi
Hi, I am doing some testing on CAS operations and I am frequently having the issue that my resultset says wasApplied()==false, but it does not contain any value. This behaviour of course leads to the following Exception when I try to read it: Caused by: java.lang.IllegalArgumentException:

Re: CAS operation does not return value on failure

2016-05-04 Thread Jack Krupansky
Probably better to ask this on the Java driver user list. -- Jack Krupansky On Wed, May 4, 2016 at 11:46 AM, horschi wrote: > Hi, > > I am doing some testing on CAS operations and I am frequently having the > issue that my resultset says wasApplied()==false, but it does not

Re: In memory code and query executions

2016-05-04 Thread Nate McCall
On Mon, May 2, 2016 at 11:04 AM, Corry Opdenakker wrote: > Hi all, > > Is it possible to execute queries towards an embedded cassandra db whyle > bypassing completely the TCP (or IPC) protocol stack? > tl,dr: it is not for the faint of heart and you must understand *exactly*

Re: In memory code and query executions

2016-05-04 Thread Jonathan Haddad
Agreed with Nate. This is generally one of those "if you have to ask how it's done, you shouldn't be doing it" ideas. To add to his points above, deploying new versions of you app with this model is an operational nightmare. Now you've tightly coupled new versions of your app to doing a full