[ https://issues.apache.org/jira/browse/CASSANDRA-18679 ]
Saran Vinaiyak deleted comment on CASSANDRA-18679: -------------------------------------------- was (Author: JIRAUSER301469): What would be the ideal fix for this. I tried out the follwing fix Commit Url: [https://github.com/apache/cassandra/compare/trunk...saranvinaiyak:cassandra:CASSANDRA-18679] and got this as the output instead, the NTS creation log was not getting printed anymore. !image-2023-07-30-20-41-01-193.png! > Attempted NTS creation logs even on failure > ------------------------------------------- > > Key: CASSANDRA-18679 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18679 > Project: Cassandra > Issue Type: Bug > Components: CQL/Semantics > Reporter: Brandon Williams > Assignee: Saran Vinaiyak > Priority: Normal > Fix For: 4.0.x, 4.1.x, 5.x > > Attachments: image-2023-07-30-20-41-01-193.png > > > If you try to create a keyspace with a nonexistent DC, you will still see a > log like this: > {noformat} > 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) > {noformat} > even if you receive: > {noformat} > ConfigurationException: Unrecognized strategy option {DC2} passed to > NetworkTopologyStrategy for keyspace test > {noformat} > which prevented the creation. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org