Re: Active / Active Data Center and RF

2011-03-21 Thread aaron morton
No, replicas will always be directed to the same nodes. Otherwise we would not know where to find it. The OldNetworkTopologyStrategy alternated replicas between DC's , but it would still always put them on the same nodes. Aaron On 22 Mar 2011, at 05:31, mcasandra wrote: > I think what I a

Re: Active / Active Data Center and RF

2011-03-21 Thread mcasandra
I think what I am trying to ask is this: what happens if it's RF=3 with network toplogy (RackInferringSnitch) and 2 copies are stored in Site A and 1 copy in Site B data center. Now client for some reason is directed to Site B data center and does a write/update on existing column, now would Site

Re: Active / Active Data Center and RF

2011-03-21 Thread aaron morton
I'll take another crack at it, here's how I think it works. When using the NetworkTopologyStrategy you can specify how the RF is distributed between the DC's you have. This is done as part of the schema definition. When using a CLI script use the strategy_options clause of the create keyspace s

Re: Active / Active Data Center and RF

2011-03-20 Thread mcasandra
CL is just a way to satisfy consistency but you still want majority of your reads (preferrably) occurring in the same DC. I don't think that answers my question at all. I understand the CL but I think I have more basic and important question about active/active data center and the replicas in that

Re: Active / Active Data Center and RF

2011-03-20 Thread aaron morton
The API provides for Quourm CL to be used either across all replicas (ignoring DC's), the local DC or each DC. See Consistency level here http://wiki.apache.org/cassandra/API Hope that helps Aaron On 19 Mar 2011, at 06:54, mcasandra wrote: > When in active/active data center how to decide righ