You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2014/04/23 18:43:16 UTC

[jira] [Resolved] (CASSANDRA-7076) Simplify CQL create keyspace syntax

     [ https://issues.apache.org/jira/browse/CASSANDRA-7076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-7076.
---------------------------------------

    Resolution: Won't Fix

strategy was optional with cli CREATE, with the result that new users got exposed to this concept too late.  i'm a fan of making things as simple as possible, but "hiding" replication strategy was demonstrably a bad idea.

> Simplify CQL create keyspace syntax
> -----------------------------------
>
>                 Key: CASSANDRA-7076
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7076
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Matt Stump
>            Priority: Minor
>              Labels: cql3
>
> 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)