[ 
https://issues.apache.org/jira/browse/CASSANDRA-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Ellis updated CASSANDRA-1791:
--------------------------------------

    Attachment: 1791-v2.txt

v2 attached w/ some cleanup.

does it make sense to default clearsnapshot to ""?  won't that always fail, 
since tag can't be empty on create?  seems like we should reject that and make 
the tag req'd on clear.

> 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.

Reply via email to