cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7023) Nodetool clearsnapshot should not remove all snapshots by default
Date Thu, 10 Apr 2014 17:28:17 GMT

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

Brandon Williams commented on CASSANDRA-7023:
---------------------------------------------

{noformat}
# for x in `bin/nodetool listsnapshots | grep Keyspace1 | cut -d' ' -f1`; do bin/nodetool
clearsnapshot -t $x; done
Requested clearing snapshot(s) for [all keyspaces] with snapshot name [1397150620696]
#
{noformat}

> Nodetool clearsnapshot should not remove all snapshots by default
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-7023
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7023
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Tools
>            Reporter: Sucwinder Bassi
>            Priority: Minor
>
> Running a nodetool clearsnapshot will remove all snapshot files by default. As this is
removing data this shouldn't just go away and just remove all snapshots. If you want to remove
all snapshots there should be a force option. A list option showing snapshots available would
also be helpful which could be piped into the nodetool clearsnapshot command.  



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

Mime
View raw message