You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sammi Chen (Jira)" <ji...@apache.org> on 2025/08/08 03:05:00 UTC

[jira] [Assigned] (HDDS-13548) OM restart failure due to DB LifecycleConfiguration with expiry date older than now

     [ https://issues.apache.org/jira/browse/HDDS-13548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sammi Chen reassigned HDDS-13548:
---------------------------------

    Assignee: ChenXi

> OM restart failure due to DB LifecycleConfiguration with expiry date older than now
> -----------------------------------------------------------------------------------
>
>                 Key: HDDS-13548
>                 URL: https://issues.apache.org/jira/browse/HDDS-13548
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Sammi Chen
>            Assignee: ChenXi
>            Priority: Major
>
> During OM restart, it will fetch all LifecycleConfigurations from DB.  The desalinization of LifecycleConfiguration will the check the expiry date with now(),
> {code:java}
> if (dateInUTC.isBefore(now)) {
>         throw new OMException("Invalid lifecycle configuration: 'Date' must be in the future " + now + "," + dateInUTC,
>             OMException.ResultCodes.INVALID_REQUEST);
> }
> {code}
> For existing LifecycleConfigurations, its expiry date can be older than now() while the LifecycleConfiguration is invalid. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org