[ 
https://issues.apache.org/jira/browse/CASSANDRA-5271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13589881#comment-13589881
 ] 

Yuki Morishita commented on CASSANDRA-5271:
-------------------------------------------

I think this works fine, but for the most common use case of this, is it more 
handy to add the option to just specify keyspace and columnfamily to reset all 
sstables?
You can use '*' from the shell for that, but if you have several data 
directories,  you still need to give those to command.

FYI you can use o.a.c.db.Directories.create and Directories#sstableLister to 
access sstables under certain CF without opening files.
                
> Create tool to drop sstables to level 0
> ---------------------------------------
>
>                 Key: CASSANDRA-5271
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5271
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Trivial
>              Labels: tools
>             Fix For: 2.0
>
>         Attachments: 0001-Add-tool-to-drop-sstables-back-to-level-0.patch, 
> 0001-Add-tool-to-drop-sstables-back-to-level-0-v2.patch
>
>
> after CASSANDRA-4872 we need a way to reset all sstables to level 0, 
> previously we did this by removing the .json file from the data-directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to