cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Everton Lima <>
Subject Another consistency level problem
Date Mon, 19 Mar 2012 12:54:01 GMT
Hello people, I was having the following problem:

I was running a single node of Cassandra, using cassandra's consistency
level ALL. My program (in java) is a B-Tree like and a node store how many
childrens it has. In every update my app do, like a insert of a new
children, it do a commit, saving the update in commitlog.  But the problem
is: when I try to recover the value of how many children a node has (when
it should answer 0) it answer 4 or 5 (not deterministic). The interesting
is that if I put a Thread.sleep(1), it works right.

Some one know why this happen? And a manner to fix it?

Since now thanks.


Everton Lima Aleixo
Bacharel em Ciencia da Computação
Universidade Federal de Goiás

View raw message