cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Tarbox <briantar...@gmail.com>
Subject read after write inconsistent even on a one node cluster
Date Thu, 06 Nov 2014 14:14:32 GMT
We're doing development on a single node cluster (and yes of course we're
not really deploying that way), and we're getting inconsistent behavior on
reads after writes.

We write values to our keyspaces and then immediately read the values back
(in our Cucumber tests).  About 20% of the time we get the old value.....if
we wait 1 second and redo the query (within the same java method) we get
the new value.

This is all happening on a single node...how is this possible?

We're using 2.0.9 and the java client.   Though it shouldn't matter given a
single node cluster I set the consistency level to ALL with no effect.

I've read CASSANDRA-876 which seems spot-on but it was closed as
won't-fix...and I don't see what the solution is.

Thanks in advance for any help.

Brian Tarbox

-- 
http://about.me/BrianTarbox

Mime
View raw message