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 0DC8E10B9E for ; Fri, 21 Nov 2014 17:56:35 +0000 (UTC) Received: (qmail 31324 invoked by uid 500); 21 Nov 2014 17:56:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 31289 invoked by uid 500); 21 Nov 2014 17:56:34 -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 31204 invoked by uid 99); 21 Nov 2014 17:56:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2014 17:56:34 +0000 Date: Fri, 21 Nov 2014 17:56:34 +0000 (UTC) From: "Joseph Chu (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-8349) Using cqlsh to alter keyspaces causes tables not to be found 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-8349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph Chu updated CASSANDRA-8349: ---------------------------------- Description: Running cqlsh using Cassandra 2.1.2 on a single node. Reproduction steps in cqlsh: CREATE KEYSPACE a WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1}; CREATE TABLE a.a (a INT PRIMARY KEY); INSERT INTO a.a (a) VALUES (1); SELECT * FROM a.a; ALTER KEYSPACE a WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 2}; SELECT * FROM a.a; DESCRIBE KEYSPACE a Errors: Column family 'a' not found Workaround: Restart cqlsh was: Running Cassandra 2.1.2 on a single node. Reproduction steps in cqlsh: CREATE KEYSPACE a WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1}; CREATE TABLE a.a (a INT PRIMARY KEY); INSERT INTO a.a (a) VALUES (1); SELECT * FROM a.a; ALTER KEYSPACE a WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 2}; SELECT * FROM a.a; DESCRIBE KEYSPACE a Errors: Column family 'a' not found Workaround(?): Restart the instance Summary: Using cqlsh to alter keyspaces causes tables not to be found (was: ALTER KEYSPACE causes tables not to be found) > Using cqlsh to alter keyspaces causes tables not to be found > ------------------------------------------------------------ > > Key: CASSANDRA-8349 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8349 > Project: Cassandra > Issue Type: Bug > Reporter: Joseph Chu > Priority: Minor > > Running cqlsh using Cassandra 2.1.2 on a single node. > Reproduction steps in cqlsh: > CREATE KEYSPACE a WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1}; > CREATE TABLE a.a (a INT PRIMARY KEY); > INSERT INTO a.a (a) VALUES (1); > SELECT * FROM a.a; > ALTER KEYSPACE a WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 2}; > SELECT * FROM a.a; > DESCRIBE KEYSPACE a > Errors: > Column family 'a' not found > Workaround: > Restart cqlsh -- This message was sent by Atlassian JIRA (v6.3.4#6332)