Shilun Fan created HDDS-15278:
---------------------------------
Summary: DiskBalancer should validate persisted config before
applying
Key: HDDS-15278
URL: https://issues.apache.org/jira/browse/HDDS-15278
Project: Apache Ozone
Issue Type: Improvement
Components: Ozone Datanode
Reporter: Shilun Fan
Assignee: Shilun Fan
DiskBalancerService loads persisted DiskBalancer configuration from the local
diskbalancer.info file and applies it to the running service.
Currently, during applyDiskBalancerInfo, only containerStates is explicitly
validated before the values are written back and applied to the service.
Other persisted fields such as threshold, bandwidthInMB, and parallelThread are
applied directly from DiskBalancerInfo.
These fields already have validation logic in DiskBalancerConfiguration.
However, the persisted configuration loading path does not consistently reuse
these validations for all fields.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]