cli sets RF to 1 when replica strategy is not specified
-------------------------------------------------------

                 Key: CASSANDRA-2363
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2363
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.7.4
            Reporter: Aaron Morton
            Priority: Minor
             Fix For: 0.7.5, 0.8


If a keyspace is created via the cli with

{noformat}
create keyspace dev with replication_factor = 2;
{noformat}

It will be created using the NetworkTopologyStrategy and default options 

{noformat}
[default@dev] describe keyspace;
Keyspace: dev:
  Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy
    Options: [datacenter1:1]
{noformat}

And the effective RF will be 1 not 2.  

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

Reply via email to