You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "DeepakVohra (JIRA)" <ji...@apache.org> on 2019/08/06 19:05:00 UTC

[jira] [Commented] (CASSANDRA-13391) nodetool clearsnapshot should require --all to clear all snapshots

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

DeepakVohra commented on CASSANDRA-13391:
-----------------------------------------

The help for clearsnapshot needs to be updated to indicate requirement for --all to remove all snapshots. 

 
{code:java}
[ec2-user@ip-10-0-2-238 ~]$ nodetool help clearsnapshot
 NAME        nodetool clearsnapshot - Remove the snapshot with the given name from        the given keyspaces. If no snapshotName is specified we will remove all        snapshots{code}

> nodetool clearsnapshot should require --all to clear all snapshots
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-13391
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13391
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jon Haddad
>            Priority: Normal
>             Fix For: 4.0
>
>
> Deleting all snapshots by default is insanely dangerous.  It would be like if rm's default was -rf /.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org