cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Naryshkin <>
Subject Re: pb deletion
Date Fri, 27 May 2011 18:01:46 GMT
What is the ConsitencyLevel of your reads? A ConsistencyLevel.ONE remove returns when it has
deleted the record from at least 1 replica (and any other ones will be deleted when they can).
It could be the case that you are deleting the record off of one node and then reading it
off of the other one (that has not had the delete propagated to it). 

Try removing with a ConsistencyLevel.QUORUM or ConsistencyLevel.ALL (same thing in your case).

----- Original Message -----
From: "karim abbouh" <> 
Sent: Friday, May 27, 2011 5:09:08 PM 
Subject: pb deletion 

i use cassandra database replicated in two servers,when want to delete a record using this
line : 
client.remove(keyspace, sKey, new ColumnPath(columnFamily), timestamp, ConsistencyLevel.ONE);

but when i check,i see that the record still exist! 
any idea 

View raw message