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

   ## What changes were proposed in this pull request?
   
   Prevent OM startup failure from past lifecycle expiration dates
   ## Chances
   - The expiry date is only verified when creating a Lifecycle Configuration 
(Createdate is automatically passed in when creating a Lifecycle Configuration 
to verify the expiry date).
   - `OmLifecycleConfiguration#build` no longer validates the Lifecycle 
Configuration.
     - If the validation rules for Lifecycle Configurations change in the 
future, the old Lifecycle Configuration may cause OM to fail to start, similar 
to this case. Therefore, validation has been removed.
     - Actively call `valid` in put, get, and list LifecycleConfiguration to 
validate the Lifecycle Configuration.
   
   
   ## What is the link to the Apache JIRA
   
   
https://[issues.apache.org/jira/browse/HDDS-13548](https://issues.apache.org/jira/browse/HDDS-13548)
   
   ## How was this patch tested?
   
   https://github.com/xichen01/ozone/actions/runs/17029767993
   


-- 
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