incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Ikeda <anthony.ikeda....@gmail.com>
Subject Local quorum reads
Date Fri, 18 Nov 2011 22:23:05 GMT
This is the setup:
Cassandra 0.8.6
3 nodes
Keyspace: NetworkTopologyStrategy, 1DC, RF=2

1 node goes down and we cannot read from the ring.

My expectation is that LOCAL_QUORUM dictates that it will return a record once a majority
(N/2 +1) of replicas reports back.

2/2 + 1 = 2

I originally thought N=3 for 3 nodes but someone has corrected me on this that it's the replicas
(2) but when I use the cli, setConsistencyLevel AS LOCAL_QUORUM nothing comes back. Set it
back to ONE I can see the data

Is there somethin I'm missing?

Sent from my iPhone
Mime
View raw message