cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Stump (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-7076) Simplify CQL create keyspace syntax
Date Wed, 23 Apr 2014 16:07:18 GMT
Matt Stump created CASSANDRA-7076:
-------------------------------------

             Summary: Simplify CQL create keyspace syntax
                 Key: CASSANDRA-7076
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7076
             Project: Cassandra
          Issue Type: Bug
            Reporter: Matt Stump
            Priority: Minor


In order to simplify the new user experience we should make the specification of the replication
strategy when creating a new keyspace optional. Additionally the NetworkTopologyStrategy should
be made the default with a RF of 1 per existing datacenter.

This proposal would make the two operations equivalent:

{code}
CREATE KEYSPACE test WITH replication = {
  'class': 'NetworkTopologyStrategy',
  'ExistingDC': '1'
};
{code}

{code}
CREATE KEYSPACE test;
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message