[
https://issues.apache.org/jira/browse/CASSANDRA-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985887#action_12985887
]
Nick Bailey commented on CASSANDRA-1791:
----------------------------------------
Tag can't be empty on create, but nodetool just generates a timestamp one if
you are using it. The idea here is that if you don't specify a tag it will
delete all snapshots for a table.
If we require a tag when clearing snapshots, we will also need to require a tag
when using nodetool instead of auto generating one. Otherwise we won't be able
to delete one with nodetool. Either that or we need a list snapshots command.
> Return name of snapshot directory after creating it
> ---------------------------------------------------
>
> Key: CASSANDRA-1791
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1791
> Project: Cassandra
> Issue Type: New Feature
> Components: Core
> Environment: Debian Squeeze
> Reporter: paul cannon
> Assignee: Nick Bailey
> Priority: Minor
> Fix For: 0.8
>
> Attachments: 1791-v2.txt, 1791.txt
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> When making a snapshot, the new directory is created with a timestamp and,
> optionally, a user-supplied tag. For the sake of automated snapshot-creating
> tools, it would be helpful to know unequivocally what the new snapshot
> directory was named (otherwise, the tool must search for a directory similar
> what it expects the name to be, which could be both error-prone and maybe
> susceptible to attack).
> Recommend making takeSnapshot and takeAllSnapshot return a string, which is
> the base component of the new snapshot's directory name.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.