sadanand48 opened a new pull request, #11864:
URL: https://github.com/apache/ozone/pull/11864

   ## What changes were proposed in this pull request?
   The following SCM maintenance thresholds are dynamically reconfigurable:
   - `hdds.scm.replication.maintenance.replica.minimum`
   - `hdds.scm.replication.maintenance.remaining.redundancy`
   `NodeDecommissionManager` copied these values during initialization. 
Consequently, after reconfiguration, `ReplicationManager` used the updated 
values while maintenance admission continued using stale values.
   This PR removes the duplicated cached state and makes 
`NodeDecommissionManager` read from the shared 
`ReplicationManagerConfiguration`. Ratis and EC maintenance admission therefore 
immediately honors dynamically reconfigured thresholds.
   
   
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-17601
   
   ## How was this patch tested?
   Updated `TestNodeDecommissionManager` to:
   - Verify Ratis and EC maintenance admission uses the shared configuration.
   - Verify changes applied through `reconfigureProperty()` are visible to 
`NodeDecommissionManager`.
   
   Generated-by: Cursor (GPT-5.6 Sol)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to