Details
-
New Feature
-
Status: Resolved
-
Low
-
Resolution: Duplicate
-
None
-
None
Description
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:
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;
Attachments
Issue Links
- duplicates
-
CASSANDRA-12681 Reject empty options and invalid DC names in replication configuration while creating or altering a keyspace.
- Resolved