[
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: [email protected]
For additional commands, e-mail: [email protected]