You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Roshan <co...@gmail.com> on 2012/05/18 07:51:56 UTC

Cassandra 1.0.6 multi data center read question

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 mailing list archive at Nabble.com.

Re: Cassandra 1.0.6 multi data center read question

Posted by Roshan <co...@gmail.com>.
Thanks. It helps me a lot.

--
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Cassandra-1-0-6-multi-data-center-read-question-tp7564940p7566134.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Re: Cassandra 1.0.6 multi data center read question

Posted by "Tom Duffield (Mailing Lists)" <to...@gmail.com>.
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).
> 
>