You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2022/03/25 19:32:30 UTC
[GitHub] [cassandra] jonmeredith commented on a change in pull request #1520: CASSANDRA-17478
jonmeredith commented on a change in pull request #1520:
URL: https://github.com/apache/cassandra/pull/1520#discussion_r835556968
##########
File path: src/java/org/apache/cassandra/locator/NetworkTopologyStrategy.java
##########
@@ -297,7 +298,9 @@ else if (replication != null)
.forEach(dc -> options.putIfAbsent(dc, defaultReplicas.toParseableString()));
}
- options.values().removeAll(Collections.singleton("0"));
+ // We do not filter out "0" due to the AUTH_KEYSPACE validation in validateExpectedOptions.
+ // The previousOptions are unavailable to that check so it is not possible to verify that all valid
+ // datacenters have an explicit configuration (even if it is 0).
Review comment:
I don't think this is needed in general, just some specific operational checks that should be changed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org