cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-8197) Decide whether to allow case-insensitive system keyspace names
Date Tue, 28 Oct 2014 09:01:33 GMT
Robert Stupp created CASSANDRA-8197:
---------------------------------------

             Summary: Decide whether to allow case-insensitive system keyspace names
                 Key: CASSANDRA-8197
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8197
             Project: Cassandra
          Issue Type: Task
            Reporter: Robert Stupp
            Priority: Minor


The current implementation does not allow to create a keyspace like {{sYsTeM}} or other case-variations
of "system".

But it allows that for the two other system keyspaces {{system_trace}} and {{system_auth}}.

IMO we should make that consistent at least for the system keyspaces.

{code}
cqlsh> create KEYSPACE "SyStEM" WITH replication = {'class': 'SimpleStrategy', 'replication_factor':
1};
code=2200 [Invalid query] message="system keyspace is not user-modifiable"
cqlsh> create KEYSPACE "SYSTEM_tRaCeS" WITH replication = {'class': 'SimpleStrategy', 'replication_factor':
1};
cqlsh> create KEYSPACE "SYSTEM_aUtH" WITH replication = {'class': 'SimpleStrategy', 'replication_factor':
1};
cqlsh> DESC KEYSPACES ;

"SYSTEM_aUtH"  system  "SYSTEM_tRaCeS"  system_traces
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message