Transfer config parameters to the new types; Fix corner case for permissions_update_i...
authorEkaterina Dimitrova <ekaterina.dimitrova@datastax.com>
Tue, 22 Mar 2022 23:56:52 +0000 (19:56 -0400)
committerEkaterina Dimitrova <ekaterina.dimitrova@datastax.com>
Wed, 20 Apr 2022 14:20:30 +0000 (10:20 -0400)
commitdac738d2eba8629d4f482d7cbfd855d2c5b9df47
treeab26baa5caa0b226b8fde9f647fc5f7fadfc2ad0
parent03ef67c9d54a8cd52e120ffceb033fc49403dc2b
Transfer config parameters to the new types; Fix corner case for permissions_update_interval, roles_update_interval, credentials_update_interval;Fix typo in Config annotation; Made Converters type safe and fixed a few cases where converters used the wrong type; o should be provided with unit to DataStorageSpec and DurationStorageSpec; Fix null bug in DataStorageSpec and DurationSpec
patch by Ekaterina Dimitrova, David Capwell; reviewed by David Capwell and Caleb Rackliffe for CASSANDRA-17431

Co-authored-by: Ekaterina Dimitrova <ekaterina.dimitrova@datastax.com>
Co-authored-by: David Capwell <dcapwell@apache.org>
22 files changed:
CHANGES.txt
NEWS.txt
doc/modules/cassandra/pages/new/configuration.adoc
src/java/org/apache/cassandra/auth/AuthConfig.java
src/java/org/apache/cassandra/config/Config.java
src/java/org/apache/cassandra/config/Converters.java
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/SmallestDurationMilliseconds.java
src/java/org/apache/cassandra/config/YamlConfigurationLoader.java
src/java/org/apache/cassandra/db/virtual/SettingsTable.java
src/java/org/apache/cassandra/transport/ClientResourceLimits.java
test/conf/cassandra-old.yaml
test/distributed/org/apache/cassandra/distributed/test/PaxosRepairTest.java
test/unit/org/apache/cassandra/config/LoadOldYAMLBackwardCompatibilityTest.java
test/unit/org/apache/cassandra/config/ParseAndConvertUnitsTest.java
test/unit/org/apache/cassandra/config/YamlConfigurationLoaderTest.java
test/unit/org/apache/cassandra/tools/nodetool/SetAuthCacheConfigTest.java
test/unit/org/apache/cassandra/tools/nodetool/SetGetColumnIndexSizeTest.java
test/unit/org/apache/cassandra/transport/ClientResourceLimitsTest.java