You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yuki Morishita (JIRA)" <ji...@apache.org> on 2013/02/28 21:07:14 UTC
[jira] [Commented] (CASSANDRA-5271) Create tool to drop sstables to
level 0
[ 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