Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4FF2F1140A for ; Thu, 17 Jul 2014 16:21:09 +0000 (UTC) Received: (qmail 44755 invoked by uid 500); 17 Jul 2014 16:21:09 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 44724 invoked by uid 500); 17 Jul 2014 16:21:09 -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 44697 invoked by uid 99); 17 Jul 2014 16:21:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2014 16:21:09 +0000 Date: Thu, 17 Jul 2014 16:21:08 +0000 (UTC) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CASSANDRA-7566) DROP/CREATE TABLE cycle causes unrecognized column family 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-7566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams resolved CASSANDRA-7566. ----------------------------------------- Resolution: Duplicate The short answer is don't do this before 2.1. > DROP/CREATE TABLE cycle causes unrecognized column family > --------------------------------------------------------- > > Key: CASSANDRA-7566 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7566 > Project: Cassandra > Issue Type: Bug > Components: Core > Environment: OSX 10.9.4 / JDK 1.8.0_05 > Reporter: Ben Hood > > An integration test suite that drops and creates the same column family 3 times causes the following error in the server log: > INFO 15:40:34 Initializing gocql_test.wiki_page > ERROR 15:40:34 Attempted to write commit log entry for unrecognized column family: b0e167e0-0dc8-11e4-9cbb-29a4872887f2 > ERROR 15:40:34 Attempting to mutate non-existant column family b0e167e0-0dc8-11e4-9cbb-29a4872887f2 > ERROR 15:40:34 Attempted to write commit log entry for unrecognized column family: b0e167e0-0dc8-11e4-9cbb-29a4872887f2 > ERROR 15:40:34 Attempting to mutate non-existant column family b0e167e0-0dc8-11e4-9cbb-29a4872887f2 > The test that reproduces this issue is here: > https://github.com/gocql/gocql/blob/master/wiki_test.go > Interestingly this issue only occurs after the common table is dropped/created for the 3rd time. If only one of the tests is run on its own, this issue does not arise. -- This message was sent by Atlassian JIRA (v6.2#6252)