I think even through the real deletion is done when compaction. The get/get_range_slices should not return the deleted-marked keys (or columns).
Schubert On Wed, Apr 28, 2010 at 1:39 PM, Jeff Zhang <[email protected]> wrote: > Thanks Lu, it's helpful. > > > On Wed, Apr 28, 2010 at 11:42 AM, Greg Lu <[email protected]> wrote: > > Hey Jeff, > > I think this article addresses your > > question: > http://spyced.blogspot.com/2010/02/distributed-deletes-in-cassandra.html > > -Greg > > > > On Tue, Apr 27, 2010 at 10:14 PM, Jeff Zhang <[email protected]> wrote: > >> > >> Hi all, > >> > >> I use the thrift api to remove one key, and then use the > >> get_range_slices to get all the keys and find that the key which I > >> deleted is still there. I refer to the thrift api doc which says > >> get_range_slices will apply to all the keys including the deleted > >> keys. So my question is how can I delete one key permanently, my guess > >> is that cassandra won't delete the key at once just mark the deleted > >> keys. So when will cassandra do the real deletion operation? > >> > >> > >> -- > >> Best Regards > >> > >> Jeff Zhang > > > > > > > > -- > Best Regards > > Jeff Zhang >
