incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From VĂ­ctor Hugo Oliveira Molinar <vhmoli...@gmail.com>
Subject Deletion consistency
Date Fri, 15 Feb 2013 18:13:19 GMT
hello everyone!

I have a column family filled with event objects which need to be processed
by query threads.
Once each thread query for those objects(spread among columns bellow a
row), it performs a delete operation for each object in cassandra.
It's done in order to ensure that these events wont be processed again.
Some tests has showed me that it works, but sometimes i'm not getting those
events deleted. I checked it through cassandra-cli,etc.

So, reading it (http://wiki.apache.org/cassandra/DistributedDeletes) I came
to a conclusion that I may be reading old data.
My cluster is currently configured as: 2 nodes, RF1, CL 1.
In that case, what should I do?

- Increase the consistency level for the write operations( in that case,
the deletions ). In order to ensure that those deletions are stored in all
nodes.
or
- Increase the consistency level for the read operations. In order to
ensure that I'm reading only those yet processed events(deleted).

?

-
Thanks in advance

Mime
View raw message