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

Kanthi Subramanian commented on CASSANDRA-15281:
------------------------------------------------

Already see the all option, does this ticket still apply

NAME
        nodetool clearsnapshot - Remove the snapshot with the given name from
        the given keyspaces

SYNOPSIS
        nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
                [(-pp | --print-port)] [(-pw <password> | --password 
<password>)]
                [(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
                [(-u <username> | --username <username>)] clearsnapshot [--all]
                [-t <snapshot_name>] [--] [<keyspaces>...]

OPTIONS
        --all
            Removes all snapshots

> help for clearsnapshot needs to be updated to indicate requirement for --all
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15281
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15281
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/nodetool
>            Reporter: DeepakVohra
>            Priority: Normal
>             Fix For: 4.x
>
>         Attachments: 15281.trunk
>
>
> According to _CASSANDRA-13391_
> _nodetool clearsnapshot should require --all to clear all snapshots_
> But the help for clearsnapshot does not indicate the same.
> {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}
> The help for clearsnapshot needs to be updated to indicate requirement for 
> --all to remove all snapshots.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to