incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Re : pb deletion
Date Tue, 31 May 2011 18:17:07 GMT
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_rbt@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.schuller@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

Mime
View raw message