Multi datacenter, WAN hiccups and replication

2012-06-26 Thread Karthik N
My Cassandra ring spans two DCs. I use local quorum with replication factor=3. I do a write in DC1 with local quorum. Data gets written to multiple nodes in DC1. For the same write to propagate to DC2 only one copy is sent from the coordinator node in DC1 to a coordinator node in DC2 for

Re: Multi datacenter, WAN hiccups and replication

2012-06-26 Thread Karthik N
Since Cassandra optimizes and sends only one copy over the WAN, can I opt in only for HH for WAN replication and avoid HH for the local quorum? (since I know I have more copies) On Tuesday, June 26, 2012, Mohit Anchlia wrote: On Tue, Jun 26, 2012 at 7:52 AM, Karthik N karthik

Re: Multi datacenter, WAN hiccups and replication

2012-06-26 Thread Karthik N
this is common) or alternately if there's a way to enable HH for WAN replication? Thank you. On Tue, Jun 26, 2012 at 9:22 AM, Mohit Anchlia mohitanch...@gmail.com wrote: On Tue, Jun 26, 2012 at 8:16 AM, Karthik N karthik@gmail.com wrote: Since Cassandra optimizes and sends only one copy over

Re: Multi datacenter, WAN hiccups and replication

2012-06-26 Thread Karthik N
. Thanks, Karthik On Tue, Jun 26, 2012 at 10:14 AM, Karthik N karthik@gmail.com wrote: Let me attempt to articulate my question a little better. Say I choose LOCAL_QUORUM with a Replication Factor of 3. Cassandra stores three copies in my local datacenter. Therefore the cost associated