incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Schuller <peter.schul...@infidyne.com>
Subject Re: Consistency Level
Date Wed, 28 Dec 2011 22:24:20 GMT
> exception "May not be enough replicas present to handle consistency level"

Check for mistakes in using getendpoints. Cassandra says Unavailable
when there is not enough replicas *IN THE REPLICA SET FOR THE ROW KEY*
to satisfy the consistency level.

> I tried to read data using cassandra-cli but I am getting "null".

This is just cassandra-cli quirkyness IIRC; I think you get "null" on
exceptions.

> With consistency level ONE, I would assume that with just one node up and
> running (of course the one that has the data) I should get my data back. But
> this is not happening.

1 node among the ones in the replica set of your row has to be up.

> Will the read repair happen automatically even if I read and write using the
> consistency level ONE?

Yes, assuming it's turned on.

-- 
/ Peter Schuller (@scode, http://worldmodscode.wordpress.com)

Mime
View raw message