Re: Consistency level for multi-datacenter setup

2013-06-03 Thread srmore
"user@cassandra.apache.org<mailto:user@cassandra.apache.org>" < > user@cassandra.apache.org<mailto:user@cassandra.apache.org>> > Date: Monday, June 3, 2013 2:31 PM > To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" < > user@cassan

Re: Consistency level for multi-datacenter setup

2013-06-03 Thread Hiller, Dean
r@cassandra.apache.org>> Date: Monday, June 3, 2013 2:31 PM To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: Consistency level for multi-datacenter setup We observed that as well, please let us know what

Re: Consistency level for multi-datacenter setup

2013-06-03 Thread srmore
Yup, RF is 2 for both the datacenters. On Mon, Jun 3, 2013 at 3:36 PM, Sylvain Lebresne wrote: > What's your replication factor? Do you have RF=2 on both datacenters? > > > On Mon, Jun 3, 2013 at 10:09 PM, srmore wrote: > >> I am a bit confused when using the consistency level for multi datacen

Re: Consistency level for multi-datacenter setup

2013-06-03 Thread Sylvain Lebresne
What's your replication factor? Do you have RF=2 on both datacenters? On Mon, Jun 3, 2013 at 10:09 PM, srmore wrote: > I am a bit confused when using the consistency level for multi datacenter > setup. Following is my setup: > > I have 4 nodes the way these are set up are > Node 1 DC 1 - N1DC1

Re: Consistency level for multi-datacenter setup

2013-06-03 Thread srmore
We observed that as well, please let us know what you find out it would be extremely helpful. There is also this property that you can play with to take care of slow nodes *dynamic_snitch_badness_threshold*. http://www.datastax.com/docs/1.1/configuration/node_configuration#dynamic-snitch-badness-

Re: Consistency level for multi-datacenter setup

2013-06-03 Thread srmore
With CL=TWO it appears that one node randomly picks the node from other datacenter to get the data. i.e. one node in the datacenter consistently underperforms. On Mon, Jun 3, 2013 at 3:21 PM, Hiller, Dean wrote: > What happens when you use CL=TWO. > > Dean > > From: srmore mailto:comom...@gmai

Re: Consistency level for multi-datacenter setup

2013-06-03 Thread Hiller, Dean
Also, we had to put a fix into cassandra so it removed "slow nodes" from the list of nodes to read from. With that fix our QUOROM(not local quorom) started working again and would easily take the other DC nodes out of the list of reading from for you as well. I need to circle back to with my t

Re: Consistency level for multi-datacenter setup

2013-06-03 Thread Hiller, Dean
What happens when you use CL=TWO. Dean From: srmore mailto:comom...@gmail.com>> Reply-To: "user@cassandra.apache.org" mailto:user@cassandra.apache.org>> Date: Monday, June 3, 2013 2:09 PM To: "user@cassandra.apache.org" mailto: