Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Correctness - Transient Incorrect Response
-
Normal
-
Low Hanging Fruit
-
User Report
-
All
-
None
-
Description
org.apache.cassandra.service.StorageService#getCoordinatorLargeReadWarnThreshold and other similar get methods touch the following null configs
public volatile DataStorageSpec coordinator_read_size_warn_threshold = null; public volatile DataStorageSpec coordinator_read_size_fail_threshold = null; public volatile DataStorageSpec local_read_size_warn_threshold = null; public volatile DataStorageSpec local_read_size_fail_threshold = null; public volatile DataStorageSpec row_index_read_size_warn_threshold = null; public volatile DataStorageSpec row_index_read_size_fail_threshold = null
Null is a valid state for these configs, so null must be handled in the get methods; they currently are not and throw NullPointerException when accessed via JMX