Fix NTS log message when an unrecognized strategy option is passed

Patch by Saran Vinaiyak; reviewed by brandonwilliams and edimitrova for
CASSANDRA-18679
This commit is contained in:
Saran Vinaiyak 2023-08-02 01:16:22 +05:30 committed by Brandon Williams
parent 4a2a585ec0
commit 8b331ddb4d
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
4.0.12
* 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:

View File

@ -86,7 +86,6 @@ public class NetworkTopologyStrategy extends AbstractReplicationStrategy
datacenters = Collections.unmodifiableMap(newDatacenters);
aggregateRf = ReplicationFactor.withTransient(replicas, trans);
logger.info("Configured datacenter replicas are {}", FBUtilities.toString(datacenters));
}
/**
@ -302,6 +301,7 @@ public class NetworkTopologyStrategy extends AbstractReplicationStrategy
// Validate the data center names
super.validateExpectedOptions();
logger.info("Configured datacenter replicas are {}", FBUtilities.toString(datacenters));
}
@Override