transaction principle between multiple column families

2011-08-04 Thread Jérémy SEVELLEC
Hi All, Making "transaction" like is my actual preoccupation of the moment. My (simplified) need is : - update data in column family #1 - insert data in column family #2 My need is to see these operations in a single "transaction" because the data is tightly coupled. I use zookeeper/cage to ma

Re: transaction principle between multiple column families

2011-08-04 Thread aaron morton
A write for a single row is atomic, including writing to multiple CF's in with the same row key. http://wiki.apache.org/cassandra/FAQ#batch_mutate_atomic They are not isolated though, reads may see the write partially applied. Have a look at the data modelling slides here http://www.datastax.c

Re: transaction principle between multiple column families

2011-08-05 Thread Jérémy SEVELLEC
Hi Aaron, Thank's for your answer. In my case, insertions on my multiple CF's are not on the same key. I've ever read the presentation you advise to me and i think that write transaction log in a special CF is the track i will follow to try to solve my problem. Cheers, 2011/8/5 aaron morton