Fix leak of non-standard Java types in our Exceptions as clients using JMX are unable...
authorEkaterina Dimitrova <ekaterina.dimitrova@datastax.com>
Thu, 12 May 2022 22:13:20 +0000 (18:13 -0400)
committerEkaterina Dimitrova <ekaterina.dimitrova@datastax.com>
Thu, 19 May 2022 18:35:02 +0000 (14:35 -0400)
commitc635f198f6ceca272e61b857b67fd91f23da3836
treecd1576926bf91e8c58e969a78905f1f433bba3c4
parent0a7084a05d17c94879873d91ec95dada8bd285a1
Fix leak of non-standard Java types in our Exceptions as clients using JMX are unable to handle them
Remove useless validation that leads to unnecessary additional read of cassandra.yaml on startup
patch by Ekaterina Dimitrova; review by David Capwell for CASSANDRA-17638
20 files changed:
CHANGES.txt
src/java/org/apache/cassandra/config/DataRateSpec.java
src/java/org/apache/cassandra/config/DataStorageSpec.java
src/java/org/apache/cassandra/config/DatabaseDescriptor.java
src/java/org/apache/cassandra/config/DurationSpec.java
src/java/org/apache/cassandra/config/YamlConfigurationLoader.java
test/unit/org/apache/cassandra/config/DataRateSpecTest.java
test/unit/org/apache/cassandra/config/DataStorageSpecTest.java
test/unit/org/apache/cassandra/config/DatabaseDescriptorTest.java
test/unit/org/apache/cassandra/config/DurationSpecTest.java
test/unit/org/apache/cassandra/config/SmallestDataStorageKibibytesTest.java
test/unit/org/apache/cassandra/config/SmallestDataStorageMebibytesTest.java
test/unit/org/apache/cassandra/config/SmallestDurationMillisecondsTest.java
test/unit/org/apache/cassandra/config/SmallestDurationMinutesTest.java
test/unit/org/apache/cassandra/config/SmallestDurationSecondsTest.java
test/unit/org/apache/cassandra/config/YamlConfigurationLoaderTest.java
test/unit/org/apache/cassandra/db/guardrails/GuardrailMinimumReplicationFactorTest.java
test/unit/org/apache/cassandra/db/guardrails/ThresholdTester.java
test/unit/org/apache/cassandra/tools/nodetool/SetGetColumnIndexSizeTest.java
test/unit/org/apache/cassandra/tools/nodetool/SnapshotTest.java