Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 51844 invoked from network); 10 Apr 2011 19:53:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Apr 2011 19:53:44 -0000 Received: (qmail 324 invoked by uid 500); 10 Apr 2011 19:53:44 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 268 invoked by uid 500); 10 Apr 2011 19:53:44 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 99984 invoked by uid 99); 10 Apr 2011 19:53:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Apr 2011 19:53:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Apr 2011 19:53:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E23989BC20 for ; Sun, 10 Apr 2011 19:53:05 +0000 (UTC) Date: Sun, 10 Apr 2011 19:53:05 +0000 (UTC) From: "Nick Bailey (JIRA)" To: commits@cassandra.apache.org Message-ID: <1173795714.48036.1302465185923.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <18771900.27051291138571894.JavaMail.jira@thor> Subject: [jira] [Updated] (CASSANDRA-1791) Return name of snapshot directory after creating it and allow passing name to clearsnapshot MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nick Bailey updated CASSANDRA-1791: ----------------------------------- Attachment: 0001-Allow-specifying-a-name-for-a-snapshot.patch v3 attached. > Return name of snapshot directory after creating it and allow passing name to clearsnapshot > ------------------------------------------------------------------------------------------- > > 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: 0001-Allow-specifying-a-name-for-a-snapshot.patch, 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. For more information on JIRA, see: http://www.atlassian.com/software/jira