cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walsh, Stephen" <Stephen.Wa...@Aspect.com>
Subject Replication of data over 2 Datacentre's, when one node fails we get replica issues
Date Wed, 18 Nov 2015 16:22:30 GMT
Hey all,

We're testing Cassandra failover over 2 Datacentre's.

There are 3 nodes on each.
All CF's have a Replication of 2 on both Datacentre's (DC1:2, DC2:2)

When one Datacentre goes down then all queries go to the other.
This works fine for LOCAL_QUOURM queries. As 2 replicas of the data exist in this Datacentre.

However in the scenario where the 2 Datacentre's are up and one node goes down, all queries
to that Datacentre will fail for LOCAL_QUOURM
This is because the node that failed had the replica data, and there is only 1 remaining node
with the data. So LOCAL_QUOURM which requires 2 nodes with replica data will fail

Is there a way to not send these queries to the incomplete Datacentre.
What the best way the handle this?


Regards
Stephen Walsh
This email (including any attachments) is proprietary to Aspect Software, Inc. and may contain
information that is confidential. If you have received this message in error, please do not
read, copy or forward this message. Please notify the sender immediately, delete it from your
system and destroy any copies. You may not further disclose or distribute this email or its
attachments.

Mime
View raw message