You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2023/08/02 15:47:21 UTC
[cassandra] branch cassandra-4.1 updated (9c796dfb27 -> 2f0adfac2b)
This is an automated email from the ASF dual-hosted git repository.
brandonwilliams pushed a change to branch cassandra-4.1
in repository https://gitbox.apache.org/repos/asf/cassandra.git
from 9c796dfb27 Skip ColumnFamilyStore#topPartitions initialization when client or tool mode
new 8b331ddb4d Fix NTS log message when an unrecognized strategy option is passed
new 2f0adfac2b Merge branch 'cassandra-4.0' into cassandra-4.1
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
CHANGES.txt | 1 +
src/java/org/apache/cassandra/locator/NetworkTopologyStrategy.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org
[cassandra] 01/01: Merge branch 'cassandra-4.0' into cassandra-4.1
Posted by br...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
brandonwilliams pushed a commit to branch cassandra-4.1
in repository https://gitbox.apache.org/repos/asf/cassandra.git
commit 2f0adfac2b424519c13b119be05583e004157d36
Merge: 9c796dfb27 8b331ddb4d
Author: Brandon Williams <br...@apache.org>
AuthorDate: Wed Aug 2 10:44:36 2023 -0500
Merge branch 'cassandra-4.0' into cassandra-4.1
CHANGES.txt | 1 +
src/java/org/apache/cassandra/locator/NetworkTopologyStrategy.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --cc CHANGES.txt
index 5ce92be10e,a45b6dce5d..6bb86a057a
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -1,6 -1,5 +1,7 @@@
-4.0.12
+4.1.4
+ * Skip ColumnFamilyStore#topPartitions initialization when client or tool mode (CASSANDRA-18697)
+Merged from 4.0:
+ * Fix NTS log message when an unrecognized strategy option is passed (CASSANDRA-18679)
* Fix BulkLoader ignoring cipher suites options (CASSANDRA-18582)
* Migrate Python optparse to argparse (CASSANDRA-17914)
Merged from 3.11:
diff --cc src/java/org/apache/cassandra/locator/NetworkTopologyStrategy.java
index 1d39bbe37f,75aade85af..56bb261781
--- a/src/java/org/apache/cassandra/locator/NetworkTopologyStrategy.java
+++ b/src/java/org/apache/cassandra/locator/NetworkTopologyStrategy.java
@@@ -315,15 -301,7 +314,16 @@@ public class NetworkTopologyStrategy ex
// Validate the data center names
super.validateExpectedOptions();
+
+ if (keyspaceName.equalsIgnoreCase(SchemaConstants.AUTH_KEYSPACE_NAME))
+ {
+ Set<String> differenceSet = Sets.difference((Set<String>) recognizedOptions(), configOptions.keySet());
+ if (!differenceSet.isEmpty())
+ {
+ throw new ConfigurationException("Following datacenters have active nodes and must be present in replication options for keyspace " + SchemaConstants.AUTH_KEYSPACE_NAME + ": " + differenceSet.toString());
+ }
+ }
+ logger.info("Configured datacenter replicas are {}", FBUtilities.toString(datacenters));
}
@Override
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org