Sadanand Shenoy created HDDS-17601:
--------------------------------------
Summary: SCM NodeDecommissionManager does not honor dynamically
reconfigured maintenance thresholds
Key: HDDS-17601
URL: https://issues.apache.org/jira/browse/HDDS-17601
Project: Apache Ozone
Issue Type: Bug
Reporter: Sadanand Shenoy
Assignee: Sadanand Shenoy
The following SCM properties are marked as dynamically reconfigurable:
* {{hdds.scm.replication.maintenance.replica.minimum}}
* {{hdds.scm.replication.maintenance.remaining.redundancy}}
However, {{NodeDecommissionManager}} copies their values during initialization
and continues using the cached values when validating maintenance requests.
After reconfiguration, {{ReplicationManager}} uses the new values while
{{NodeDecommissionManager}} uses the old ones.
This can incorrectly allow or reject datanodes entering maintenance.
Update {{NodeDecommissionManager}} to read the shared
{{ReplicationManagerConfiguration}} dynamically, or refresh its cached values
after reconfiguration. Add Ratis and EC tests verifying that maintenance
admission immediately honors updated values.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]