[ https://issues.apache.org/jira/browse/CASSANDRA-13391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16301838#comment-16301838 ]
ASF GitHub Bot commented on CASSANDRA-13391: -------------------------------------------- GitHub user barakm opened a pull request: https://github.com/apache/cassandra/pull/182 CASSANDRA-13391 Added --all to ClearSnapshot command Added --all to ClearSnapshot command, so entering the command without a parameter will now throw an exception instead of deleting all the snapshots. You can merge this pull request into a Git repository by running: $ git pull https://github.com/barakm/cassandra CASSANDRA-13391-clear-all-snapshots-trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cassandra/pull/182.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #182 ---- commit acf3d3498f9c5c362115eda32cc704dd5eb126da Author: Barak Merimovich <barakm@...> Date: 2017-12-21T15:08:40Z CASSANDRA-13391 Added --all to ClearSnapshot command, so entering the command without a parameter will now throw an exception instead of deleting all the snapshots. ---- > 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 > > 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 (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org