nsivabalan opened a new pull request, #5261:
URL: https://github.com/apache/hudi/pull/5261
## What is the purpose of the pull request
In Local and hdfs file schemes, there could be partial files created, where
in the commit meta files could be empty. We put in a fix sometime back to
delete these entries during archival as it will hinder the archival and will
fail the pipeline. But we wanted to maintain the entry for book keeping
purposes. So, in this patch, we are not deleting such instances, but creating
an instant w/o any plan and serializing it to archived folder. So, that we will
know exactly what all entries have been archived.
## Brief change log
- Fixed timeline archiver to archive even empty instants instead of deleting
them.
## Verify this pull request
This change added tests and can be verified as follows:
- TestTimelineArchiver.testArchiveCompletedRollbackAndClean
## Committer checklist
- [ ] Has a corresponding JIRA in PR title & commit
- [ ] Commit message is descriptive of the change
- [ ] CI is green
- [ ] Necessary doc changes done or have another open PR
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
--
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]