cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Estevez (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-9605) Error message when creating a KS replicated to a non-existent DC
Date Tue, 16 Jun 2015 21:49:00 GMT
Sebastian Estevez created CASSANDRA-9605:
--------------------------------------------

             Summary: Error message when creating a KS replicated to a non-existent DC
                 Key: CASSANDRA-9605
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9605
             Project: Cassandra
          Issue Type: Bug
            Reporter: Sebastian Estevez
            Priority: Minor


One of the most common mistakes I see with beginners is they mix up the data center configuration
when using network topology strategy because they are copying from some tutorial or sample
code or have recently changed snitches.

This should not be legal:
{code}
create KEYSPACE  test1 WITH replication = {'class': 'NetworkTopologyStrategy', 'doesnotexist':
1} ;
cqlsh> desc KEYSPACE test1 ;

CREATE KEYSPACE test1 WITH replication = {'class': 'NetworkTopologyStrategy', 'doesnotexist':
'1'}  AND durable_writes = true; 
{code}



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

Mime
View raw message