You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by S C <as...@outlook.com> on 2013/08/30 00:48:16 UTC

Truncate question

Do we have to run "nodetool repair" or "nodetool cleanup" after Truncating a Column Family?
Thanks,SC 		 	   		  

RE: Truncate question

Posted by S C <as...@outlook.com>.
Thank you all for your responses. Yes I have cleared the snapshots post truncate operation.

Thanks,SC
Date: Thu, 29 Aug 2013 21:41:25 -0400
Subject: Re: Truncate question
From: dmcnelis@gmail.com
To: user@cassandra.apache.org

You would, however, want to clear the snapshot folder afterword, right?  I thought that truncate, like drop table, created a snapshot (unless that feature had been disabled in your yaml.  


On Thu, Aug 29, 2013 at 6:51 PM, Robert Coli <rc...@eventbrite.com> wrote:

On Thu, Aug 29, 2013 at 3:48 PM, S C <as...@outlook.com> wrote:





Do we have to run "nodetool repair" or "nodetool cleanup" after Truncating a Column Family?
No. Why would you?


=Rob 

 		 	   		  

Re: Truncate question

Posted by David McNelis <dm...@gmail.com>.
You would, however, want to clear the snapshot folder afterword, right?  I
thought that truncate, like drop table, created a snapshot (unless that
feature had been disabled in your yaml.


On Thu, Aug 29, 2013 at 6:51 PM, Robert Coli <rc...@eventbrite.com> wrote:

> On Thu, Aug 29, 2013 at 3:48 PM, S C <as...@outlook.com> wrote:
>
>> Do we have to run "nodetool repair" or "nodetool cleanup" after
>> Truncating a Column Family?
>>
>
> No. Why would you?
>
> =Rob
>
>

Re: Truncate question

Posted by Robert Coli <rc...@eventbrite.com>.
On Thu, Aug 29, 2013 at 3:48 PM, S C <as...@outlook.com> wrote:

> Do we have to run "nodetool repair" or "nodetool cleanup" after Truncating
> a Column Family?
>

No. Why would you?

=Rob

Re: Truncate question

Posted by Andrey Ilinykh <ai...@gmail.com>.
No.

Andrey


On Thu, Aug 29, 2013 at 3:48 PM, S C <as...@outlook.com> wrote:

> Do we have to run "nodetool repair" or "nodetool cleanup" after Truncating
> a Column Family?
>
> Thanks,
> SC
>