Re: ONE has much higher latency than LOCAL_ONE

2017-03-23 Thread Shannon Carey
Thanks for the link, I hadn't seen that before. It's unfortunate that they don't explain what they mean by "closest replica". The nodes in the remote DC should not be regarded as "closest". Also, it's not clear what the black arrows mean… the coordinator sends the read to all three replicas, bu

Re: ONE has much higher latency than LOCAL_ONE

2017-03-22 Thread Shannon Carey
quality reasons, you can use this consistency level in an offline datacenter to prevent automatic connection to online nodes in other datacenters if an offline node goes down. From: https://docs.datastax.com/en/cassandra/2.1/cassandra/dml/dml_config_consistency_c.html Regards, Eric On Tue, Mar 21, 2017

Re: ONE has much higher latency than LOCAL_ONE

2017-03-22 Thread Shannon Carey
gt;> Subject: Re: ONE has much higher latency than LOCAL_ONE On Wed, Mar 22, 2017 at 1:11 PM, Nate McCall mailto:n...@thelastpickle.com>> wrote: On Wed, Mar 22, 2017 at 12:48 PM, Shannon Carey mailto:sca...@expedia.com>> wrote: > > The cluster is in two DCs, and yes the

Re: ONE has much higher latency than LOCAL_ONE

2017-03-21 Thread Shannon Carey
1, 2017 at 2:56 PM To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: ONE has much higher latency than LOCAL_ONE Are you running a multi DC cluster? If yes do you have application in both data centers/regions ? On Tue,

ONE has much higher latency than LOCAL_ONE

2017-03-21 Thread Shannon Carey
I am seeing unexpected behavior: consistency level ONE increases read latency 99th percentile to ~108ms (95th percentile to 5ms-90ms) up from ~5ms (99th percentile) when using LOCAL_ONE. I am using DSE 5.0 with Datastax client 3.0.0. The client is configured with a TokenAwarePolicy wrapping a D

Re: Consistency Level vs. Retry Policy when no local nodes are available

2017-03-21 Thread Shannon Carey
d how do you know when that has happened)? Note also QUORUM is a clear majority of replicas across both DCs. Some people run 3 DCs with RF 3 in each and QUORUM to maintain strong consistency across DCs even with DC failure. Cheers Ben On Tue, 21 Mar 2017 at 10:00 Shannon Carey mailto:sca

Re: Consistency Level vs. Retry Policy when no local nodes are available

2017-03-20 Thread Shannon Carey
e it would fail if there's not a quorum in either DC (as would happen if one DC goes down). So it seems like we are forced to use a lesser consistency such as ONE or TWO. -Shannon From: Shannon Carey mailto:sca...@expedia.com>> Date: Monday, March 20, 2017 at 5:25 PM To: "user@c

Is Repair complete?

2017-01-04 Thread Shannon Carey
Can anyone give a better answer to the question "How do I know if a "nodetool repair" is finished?" on http://stackoverflow.com/questions/25064717/how-do-i-know-if-nodetool-repair-is-finished I am trying to prepare to upgrade to DSE 5. I am migrating to incremental repairs first. So I disabled