incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Greene <green...@gmail.com>
Subject Re: delete mutation
Date Fri, 21 May 2010 15:36:01 GMT
Oh ok thanks guys. That all makes perfect sense. I mistakenly thought the
timestamp was needed as a discriminator for the delete.



On Fri, May 21, 2010 at 10:24 AM, Jonathan Ellis <jbellis@gmail.com> wrote:

> ts is when the delete is performed, not the ts of the column you're
> deleting.
>
> you need to provide a ts for every operation so that if there are
> multiple clients updating the same column at the same time, cassandra
> can decide who "wins."
>
> On Fri, May 21, 2010 at 6:55 AM, Mark Greene <greenemj@gmail.com> wrote:
> > Is there a particular reason why timestamp is required to do a deletion?
> If
> > i'm reading the api docs correctly, this would require a read of the
> column
> > first correct?
> >  I know there is an issue filed to have a better way to delete via range
> > slices but I wanted to make sure this was the only way to do a delete.
> > Thanks in advance,
> > Mark
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of Riptano, the source for professional Cassandra support
> http://riptano.com
>

Mime
View raw message