incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ran Tavory <ran...@gmail.com>
Subject Re: how to delete data
Date Sun, 02 May 2010 07:59:48 GMT
I've added the JMX work to StorageService and NodeTool so this work is done,
ready for final review, thanks

https://issues.apache.org/jira/secure/attachment/12443404/CASSANDRA-531.patch

On Sun, May 2, 2010 at 12:05 AM, Ran Tavory <rantav@gmail.com> wrote:

> alright, I've uploaded another patch with these updates:
>
>
> https://issues.apache.org/jira/secure/attachment/12443391/CASSANDRA-531.patch
>
> In this patch I completed all the thrift wiring work, including internal
> messaging to all hosts in the cluster.
> The patch includes all previous changes, no need to use the previous
> patches.
> I've changed the truncate method definition in cassandra.thrift and removed
> the timestamp from the truncation signature since it's not used.
> More changes are in the patch, including system test, thrift and messaging
> implementation, taking a snapshot and deleting the actual files.
>
> TODO:
> Add truncate to the JMX interface
> Add truncate to nodetool
> Add system tests to test nodetool + JMX
>
>
> On Wed, Apr 28, 2010 at 2:53 PM, Gary Dusbabek <gdusbabek@gmail.com>wrote:
>
>> 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 <rantav@gmail.com> wrote:
>> > Thanks Gary, can you send a code pointer how snapshot is done?
>> >
>> > On Wed, Apr 28, 2010 at 2:46 PM, Gary Dusbabek <gdusbabek@gmail.com>
>> 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 for the files, it's probably best to snapshot before truncating.
>> >> That's the approach I was encouraged to take for the DROP CF
>> >> operation.
>> >>
>> >> Gary.
>> >>
>> >> On Wed, Apr 28, 2010 at 03:59, Ran Tavory <rantav@gmail.com> wrote:
>> >> > 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/CASSANDRA-531.patch
>> >> >
>> >> >
>> >> > <
>> https://issues.apache.org/jira/secure/attachment/12443055/CASSANDRA-531.patch
>> >
>> >> > Thanks
>> >> >
>> >> > On Thu, Mar 25, 2010 at 9:32 PM, Jonathan Ellis <jbellis@gmail.com>
>> >> > wrote:
>> >> >
>> >> >> Commented on the Jira issue.
>> >> >>
>> >> >> Curious how badly out of date that patch is now. :)
>> >> >>
>> >
>> >
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message