[
https://issues.apache.org/jira/browse/HUDI-9675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Danny Chen closed HUDI-9675.
----------------------------
Reviewers: Danny Chen
Resolution: Fixed
Fixed via master branch: aa9935cb998afa9f668f78a221f1c40a8a43682b
> Savepoint safety checks are missing for cleaner policy
> KEEP_LATEST_FILE_VERSIONS
> --------------------------------------------------------------------------------
>
> Key: HUDI-9675
> URL: https://issues.apache.org/jira/browse/HUDI-9675
> Project: Apache Hudi
> Issue Type: Bug
> Reporter: Timothy Brown
> Assignee: Timothy Brown
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.1.0
>
>
> You can currently savepoint to an invalid commit when the
> {{KEEP_LATEST_FILE_VERSIONS}} is enabled. The earliest commit to retain will
> never be set in the clean metadata so the check allows you to savepoint any
> commit, regardless of whether the files are present.
> We should make a very conservative check here and inspect whether there is
> any clean commit after the instant of interest. If there is and it is not the
> commit immediately after the commit of interest, then fail.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)