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

Attempted NTS creation logs even on failure

    XMLWordPrintableJSON

Details

    • Correctness
    • Normal
    • Low Hanging Fruit
    • User Report
    • All
    • None
    • NA
    • Hide

      When creating a keyspace with an non-existent DC. The log mentioned in issue should not be printed.

      Show
      When creating a keyspace with an non-existent DC. The log mentioned in issue should not be printed.

    Description

      If you try to create a keyspace with a nonexistent DC, you will still see a log like this:

      INFO  [Native-Transport-Requests-1] 2023-07-21 11:02:40,062 NetworkTopologyStrategy.java:93 - Configured datacenter replicas are DC2:rf(3), DC1:rf(1)
      

      even if you receive:

      ConfigurationException: Unrecognized strategy option {DC2} passed to NetworkTopologyStrategy for keyspace test
      

      which prevented the creation.

      Attachments

        Activity

          People

            the_supersic Saran Vinaiyak
            brandon.williams Brandon Williams
            Saran Vinaiyak
            Brandon Williams, Ekaterina Dimitrova
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: