[
https://issues.apache.org/jira/browse/HDDS-15278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sammi Chen resolved HDDS-15278.
-------------------------------
Fix Version/s: 2.2.9
Resolution: Fixed
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.2.9
>
>
> 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]