Re: how to delete data

2010-04-28 Thread Ran Tavory
Finally I found the time to start this work... It's half baked, but I listed all the missing parts so I'll continue the work if the patch is good so far. No need to apply the patch, just have look and lmk if I'm at the right direction https://issues.apache.org/jira/secure/attachment/12443055/CASSAN

Re: how to delete data

2010-04-28 Thread Gary Dusbabek
I think it's in the right direction. You've handled the memtable, sstables and commit log. Other than what's listed in the todos, I can't think of anything else. As for the files, it's probably best to snapshot before truncating. That's the approach I was encouraged to take for the DROP CF opera

Re: how to delete data

2010-04-28 Thread Ran Tavory
Thanks Gary, can you send a code pointer how snapshot is done? On Wed, Apr 28, 2010 at 2:46 PM, Gary Dusbabek wrote: > I think it's in the right direction. You've handled the memtable, > sstables and commit log. Other than what's listed in the todos, I > can't think of anything else. > > As fo

Re: how to delete data

2010-04-28 Thread Gary Dusbabek
You bet. Take a look at CFS.snapshot(). You basically supply a name and a hard link is created. Gary. On Wed, Apr 28, 2010 at 06:49, Ran Tavory wrote: > Thanks Gary, can you send a code pointer how snapshot is done? > > On Wed, Apr 28, 2010 at 2:46 PM, Gary Dusbabek wrote: >> >> I think it's

Build failed in Hudson: Cassandra #419

2010-04-28 Thread Apache Hudson Server
See Changes: [jbellis] r/m multiget patch by jbellis; reviewed by Brandon Williams for CASSANDRA-739 [jbellis] allow null predicates in Deletions. patch by Sylvain Lebresne; reviewed by jbellis for CASSANDRA-1027 [jbellis] Repl

whats is wrong with this batch_mutate in erlang?

2010-04-28 Thread Zubair Quraishi
{ok, C} = thrift_client:start_link("127.0.0.1",9160, cassandra_thrift), MutationMap = { <<"i2">>, { <<"KeyValue">>, [

what is wrong with this batch_mutate in erlang?

2010-04-28 Thread Zubair Quraishi
{ok, C} = thrift_client:start_link("127.0.0.1",9160, cassandra_thrift), MutationMap = { <<"i2">>, { <<"KeyValue">>, [