thanks this is perfect...yeah, we want 4 nodes(2 in each data center) so
just a bit more than 3 ;) so we can have both datacenters be active at the
same time and not have to write to the other datacenter except in the
background. This is perfect..hbase couldn't do this which I wanted
badly alo
Quick reminder, with RF == 2 the QUORUM is 2 as well. So when using
LOCAL_QUORUM with RF 2+2 you will effectively be using LOCAL_ALL which may not
be what you want. As De La Soul sang, 3 is the magic number for minimum fault
tolerance (QUORUM is then 2).
Cheers
-
Aaron Morto
It sounds like what you're looking for is write consistency of local_quorum:
http://www.datastax.com/docs/0.8/consistency/index#write-consistency
local_quorum would mean the write has to be successful on a majority of
nodes in DC1 (so 2) before it is considered successful.
If you use just quorum
Ideally, we would want to have a replication factor of 4, and a minimum
write consistency of 2 (which looking at the default in cassandra.yaml is to
memory first with asynch to disk...perfect so far!!!)
Now, obviously, I can get the partitioner setup to make sure I get 2
replicas in each data cent