nea / vertx-mod-cassandra-persistor

A Vert.x Module to query a Cassandra cluster
Apache License 2.0
9 stars 8 forks source link

Lightweight transaction failure #8

Open fsudrot opened 9 years ago

fsudrot commented 9 years ago

Hello,

When you execute an update query like that 'UPDATE table SET field = value2 IF field = value1', the cassandra persistor always replies OK even if the lightweight transaction fails ([applied] = false). Do you plan fix this point so we can maybe have a reply like that {"status":"ok" "applied":"false"}

Thanks.

nea commented 9 years ago

Hey fsudrot

Thanks for pointing that out. Never thought about that but you are right. I will think about a solution this week.

Thanks