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

Lyuben Todorov edited comment on CASSANDRA-6821 at 3/18/14 2:04 AM:
--------------------------------------------------------------------

Again the problem is the keyspace is going out of scope once it's dropped. I'm 
going to switch to using {{File.list()}} on the data directories instead of 
using {{SS#getValidKeyspaces}}. As for the JMX part, exposing SS#clearSnapshot 
should be simple enough.


was (Author: lyubent):
Again the problem is the going out of scope once it's dropped. I'm going to 
switch to using {{File.list()}} on the data directories instead of using 
{{SS#getValidKeyspaces}}. As for the JMX part, exposing SS#clearSnapshot should 
be simple enough.

> Cassandra can't delete snapshots for keyspaces that no longer exist.
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-6821
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6821
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Nick Bailey
>            Assignee: Lyuben Todorov
>             Fix For: 2.1 beta2
>
>
> If you drop a keyspace  you can no longer clean up the snapshots for that 
> keyspace without resorting to the command line. It would be nice to be able 
> clean up those via jmx, especially for external tools.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to