This is an automated email from the ASF dual-hosted git repository.
smiklosovic pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git
from 6f486f5847 Merge branch 'cassandra-4.1' into trunk
add 903857b4ef Deprecate CloudstackSnitch and remove duplicate code in
snitches
No new revisions were added by this update.
Summary of changes:
CHANGES.txt | 1 +
NEWS.txt | 2 +
conf/cassandra-rackdc.properties | 15 ++-
conf/cassandra.yaml | 15 +++
.../AbstractCloudMetadataServiceConnector.java | 71 ++++++++++-
.../AbstractCloudMetadataServiceSnitch.java | 108 ++++++++++++++++
.../cassandra/locator/AlibabaCloudSnitch.java | 137 ++++----------------
.../apache/cassandra/locator/CloudstackSnitch.java | 139 ++++++---------------
.../locator/Ec2MetadataServiceConnector.java | 6 +-
.../cassandra/locator/Ec2MultiRegionSnitch.java | 4 +-
.../org/apache/cassandra/locator/Ec2Snitch.java | 83 ++++--------
.../cassandra/locator/GoogleCloudSnitch.java | 109 +++-------------
.../apache/cassandra/locator/SnitchProperties.java | 48 +++++++
.../org/apache/cassandra/locator/SnitchUtils.java | 50 ++++++++
.../cassandra/locator/AlibabaCloudSnitchTest.java | 38 +++---
.../cassandra/locator/CloudstackSnitchTest.java | 35 ++----
.../DefaultCloudMetadataServiceConnectorTest.java | 63 ++++++++++
.../cassandra/locator/GoogleCloudSnitchTest.java | 36 +++---
...ationStrategyTest.java => SnitchUtilsTest.java} | 28 ++---
19 files changed, 533 insertions(+), 455 deletions(-)
create mode 100644
src/java/org/apache/cassandra/locator/AbstractCloudMetadataServiceSnitch.java
create mode 100644 src/java/org/apache/cassandra/locator/SnitchUtils.java
create mode 100644
test/unit/org/apache/cassandra/locator/DefaultCloudMetadataServiceConnectorTest.java
copy
test/unit/org/apache/cassandra/locator/{AbstractReplicationStrategyTest.java =>
SnitchUtilsTest.java} (55%)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]