incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Duffield (Mailing Lists)" <tom.duffield.li...@gmail.com>
Subject Re: Cassandra 1.0.6 multi data center read question
Date Fri, 18 May 2012 15:04:40 GMT
Hey Roshan, 
Read requests accepted by your Coordinator node in your PROD environment will only be sent
to your DR data center if you use a CONSISTENCY setting that specifies such. The easiest way
to ensure you are only reading from Production is to use LOCAL_QUORUM or ONE on all reads
in your PROD system. Unless you manage your Cassandra ring closely, other CONSISTENCY settings
could result in data being read from DR. 

Hope this helps!

Tom 

-- 
Tom Duffield (Mailing Lists)
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Friday, May 18, 2012 at 12:51 AM, Roshan wrote:

> Hi 
> 
> I have setup an Cassandra cluster in production and a separate cluster in
> our DR environment. The setup is basically 2 data center setup.
> 
> I want to create a separate keyspace on production (production has some
> other keyspaces) and only that keyspace will sync the data with DR.
> 
> If I do a read operation on the production, will that read operation goes to
> DR as well? If so can I disable that call?
> 
> My primary purpose is to keep the DR upto date and won't to communicate the
> production with DR.
> 
> Thanks.
> 
> /Roshan 
> 
> --
> View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Cassandra-1-0-6-multi-data-center-read-question-tp7564940.html
> Sent from the cassandra-user@incubator.apache.org (mailto:cassandra-user@incubator.apache.org)
mailing list archive at Nabble.com (http://Nabble.com).
> 
> 



Mime
View raw message