Ekaterina Dimitrova created CASSANDRA-17797:
-----------------------------------------------
Summary: All system properties and environment variables should be
accessed via the new CassandraRelevantProperties and CassandraRelevantEnv
classes
Key: CASSANDRA-17797
URL: https://issues.apache.org/jira/browse/CASSANDRA-17797
Project: Cassandra
Issue Type: Improvement
Reporter: Ekaterina Dimitrova
Follow up ticket for CASSANDRA-15876 -
"Always access system properties and environment variables via the new
CassandraRelevantProperties and CassandraRelevantEnv classes"
As part of that ticket we moved to those classes only properties/variables that
were currently listed in System Properties Virtual Table.
We have to move to those classes the rest of the properties around the code and
start using those classes to access all of them.
+Additional information for newcomers:+
You might want to start by getting acquainted with CassandraRelevantProperties
and CassandraRelevantEnv classes. Also, you might want to check what changes
were done and how the first batch was transferred to this new framework as part
of
[CASSANDRA-15876|https://github.com/apache/cassandra/commit/7694c1d191531ac152db55e83bc0db6864a5441e]
We are interested into the properties accessed currently through getProperties
around the code.
As part of CASSANDRA-15876 relevant unit tests were added
(CassandraRelevantPropertiesTest). To verify the new patch we need to ensure
that all tests Cassandra pass and also to think about potential update of the
mentioned test class.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]