[ 
https://issues.apache.org/jira/browse/CASSANDRA-3066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093915#comment-13093915
 ] 

Hudson commented on CASSANDRA-3066:
-----------------------------------

Integrated in Cassandra-0.8 #304 (See 
[https://builds.apache.org/job/Cassandra-0.8/304/])
    Add validation that Keyspace names are case-insensitively unique
patch by Jonathan Ellis; reviewed by Pavel Yaskevich for CASSANDRA-3066

xedin : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1163289
Files : 
* /cassandra/branches/cassandra-0.8/CHANGES.txt
* 
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cql/QueryProcessor.java
* 
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/ClientState.java
* 
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/thrift/CassandraServer.java
* 
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/thrift/ThriftValidation.java


> Creating a keyspace SYSTEM cause issue
> --------------------------------------
>
>                 Key: CASSANDRA-3066
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3066
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Sébastien Giroux
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.8.5
>
>         Attachments: 3066-v2.txt, CASSANDRA-3066-0.8-v1.patch
>
>
> It's possible to create a keyspace SYSTEM but impossible to do anything with 
> it after.
> I know naming a keyspace SYSTEM is probably not a good idea but I was testing 
> something on a test cluster and found this bug. Step to reproduce:
> connect localhost/9160;
> create keyspace SYSTEM;
> use SYSTEM;
> create column family test
> with comparator = UTF8Type and subcomparator = UTF8Type
> and default_validation_class = UTF8Type
> and column_metadata = [{column_name: title, validation_class: UTF8Type},
>     {column_name: publisher, validation_class: UTF8Type}];
> And you get:
> system keyspace is not user-modifiable
> Although SYSTEM keyspace have been created and is a different keyspace as 
> system.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to