Re: How is the coordinator node in LOCAL_QUORUM chosen?

2016-03-29 Thread X. F. Li
f they're all in the same DC) for each subsequent execution. On Fri, Mar 25, 2016 at 2:04 PM X. F. Li <mailto:lixf...@gmail.com>> wrote: Hello, Local quorum works in the same data center as the coordinator node, but when an app server execute the write query, how is

How is the coordinator node in LOCAL_QUORUM chosen?

2016-03-25 Thread X. F. Li
h ALL consistency fail if the queried partition is on the failed node? Or would they continue to work with 2 replicas during the time while cassandra is replicating the partitions on the failed node to re-establish 3 replicas? Thank you. Regards, X. F. Li

If a cluster column has the same value over many rows, is the value duplicated in memory?

2016-03-08 Thread X. F. Li
are loaded into memory cache, is the value of c2 duplicated N times in memory? Or cassandra treat (c1,c2,c3) like a multi-level map and only have 1 copy for the value? Thanks. X. F. Li