Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-9605

Error message when creating a KS replicated to a non-existent DC

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Low
    • Resolution: Duplicate
    • 4.0-alpha1, 4.0
    • 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

          Activity

            People

              Unassigned Unassigned
              sebastian.estevez@datastax.com Sebastian Estevez
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: