cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: OldNetworkTopology and Quorum
Date Tue, 05 Apr 2011 18:40:51 GMT
On Tue, Apr 5, 2011 at 9:50 AM, Jonathan Colby <> wrote:
> Hi experts,
> We have a cluster of 4 nodes across 2 data centers and we are using OldNetworkTopology
to balance the replicas (RF=3).
> Question:    Can we afford to lose 1 node in a data center and still have Quorum work?

Insomuch as it works already, yes. (See below.)

> My understanding is that OldNetworkTopology writes 2 to the "local" data center and "1"
to the remote data center.

Sort of. It writes two to the DC where the key consistently hashes to,
and one to the other. NOT "local" as the client sees it.

So using quorum + ONTS you have no control over when you have to wait
for cross-DC latency.  This is why we introduced NTS and LOCAL_QUORUM

Eric wrote a good explanation here:

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support

View raw message