Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 29697 invoked from network); 28 Sep 2010 07:10:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Sep 2010 07:10:01 -0000 Received: (qmail 7120 invoked by uid 500); 28 Sep 2010 07:10:01 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 6875 invoked by uid 500); 28 Sep 2010 07:09:59 -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 6860 invoked by uid 99); 28 Sep 2010 07:09:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 07:09:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 07:09:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8S79XIr020428 for ; Tue, 28 Sep 2010 07:09:33 GMT Message-ID: <26840407.437661285657773707.JavaMail.jira@thor> Date: Tue, 28 Sep 2010 03:09:33 -0400 (EDT) From: "Gary Dusbabek (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-1548) renaming a keyspace, then trying to use original name again makes errorations In-Reply-To: <24965164.431251285627353789.JavaMail.jira@thor> 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-1548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Dusbabek updated CASSANDRA-1548: ------------------------------------- Attachment: v1-0001-ensure-that-a-table-unloads-CFS-instances-when-they-ar.txt > renaming a keyspace, then trying to use original name again makes errorations > ----------------------------------------------------------------------------- > > Key: CASSANDRA-1548 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1548 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 0.7 beta 2 > Environment: encountered on Debian squeeze, with cassandra from HEAD (r1001931). effects can be seen with both Telephus and Pycassa as clients; probably any. > Reporter: paul cannon > Assignee: Gary Dusbabek > Priority: Minor > Fix For: 0.7.0 > > Attachments: test_case_1548.py, v1-0001-ensure-that-a-table-unloads-CFS-instances-when-they-ar.txt > > > My test case does the following: > * Create a keyspace with at least one CF in it. > * Rename that keyspace > * Create a new keyspace with the same original name, containing a CF with the same name as earlier. > The second keyspace creation receives an error (although the keyspace does get created): > {{javax.management.InstanceAlreadyExistsException: org.apache.cassandra.db:type=ColumnFamilies,keyspace=keyspacename,columnfamily=cfname}} > After that point, trying to do almost anything with the new keyspace will generate the same error- even trying to drop it. This persists until cassandra itself is restarted. > One supposes that some JMX thing is lacking reregistration upon keyspace rename. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.