Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 60569 invoked from network); 5 Mar 2011 02:28:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Mar 2011 02:28:11 -0000 Received: (qmail 43966 invoked by uid 500); 5 Mar 2011 02:28:11 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 43904 invoked by uid 500); 5 Mar 2011 02:28:10 -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 43893 invoked by uid 99); 5 Mar 2011 02:28:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Mar 2011 02:28:10 +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; Sat, 05 Mar 2011 02:28:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D21C056BB2 for ; Sat, 5 Mar 2011 02:27:45 +0000 (UTC) Date: Sat, 5 Mar 2011 02:27:45 +0000 (UTC) From: "Yang Yang (JIRA)" To: commits@cassandra.apache.org Message-ID: <1702563619.558.1299292065857.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <11316160.169331292543943850.JavaMail.jira@thor> Subject: [jira] Commented: (CASSANDRA-1872) Provide ability send notifications via JMX when an SSTable is written MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002908#comment-13002908 ] Yang Yang commented on CASSANDRA-1872: -------------------------------------- Thanks Jonathan. with your change in the dir layout, it is indeed cleaner. but your latest patch does not loop over all the components. so SStable.getFilename() only gives you the -Data.db file, and not the Index.db, statistics.db etc. I have seen the system complain in tests, if such files are not restored together. so you may want to add the loop over components Yang > Provide ability send notifications via JMX when an SSTable is written > --------------------------------------------------------------------- > > Key: CASSANDRA-1872 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1872 > Project: Cassandra > Issue Type: Improvement > Components: Tools > Reporter: Nate McCall > Attachments: 1872-v3.txt, backup.diff, full.diff, jmockit-0.999.5.jar > > > One application of interest is the immediate backup of new SSTables. Relying on JMX's MBeanNotificationInfo would be a minimally intrusive to add "listeners" to CFS to facilitate this. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira