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)