You're using a lower timestamp granularity in your app. The standard
is to use microseconds (not milliseconds!) since epoch. The cli and
any of the mainstream clients adhere to this.

On Tue, May 31, 2011 at 4:21 AM, karim abbouh <karim_...@yahoo.fr> wrote:
> i see that the problem happens when i try to remove records from my
> application but these records were created before from CLI.
> is there a explication for this?
>
> ________________________________
> De : Peter Schuller <peter.schul...@infidyne.com>
> À : user@cassandra.apache.org
> Envoyé le : Vendredi 27 Mai 2011 19h05
> Objet : Re: 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!
>
> Are you using a "real" timestamp such that the deletion is stamped
> higher than the insertion?
>
> --
> / Peter Schuller
>
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Reply via email to