hudi
hudi copied to clipboard
[MINOR] Add UT org.apache.hudi.io.TestHoodieTimelineArchiver#testRetryArchivalAfterPreviousFailedDeletion
Change Logs
- Add unit test org.apache.hudi.io.TestHoodieTimelineArchiver#testRetryArchivalAfterPreviousFailedDeletion to simulate scenario where an archival call does not delete all the completed
.commitfiles on the timeline and archival is retried again. The expected behavior is that the subsequent archival retry should "clean up" the leftover.commitfiles. This scenario can happen iforg.apache.hudi.client.timeline.HoodieTimelineArchiver#deleteArchivedInstantsencounters transient failures when deleting completed instant files, such as due to the edge case that was resolved by HUDI-7207
Impact
None
Risk level (write none, low medium or high below)
If medium or high, explain what verification was done to mitigate the risks. none
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change
- The config description must be updated if new configs are added or the default value of the configs are changed
- Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the ticket number here and follow the instruction to make changes to the website.
Contributor's checklist
- [ ] Read through contributor's guide
- [ ] Change Logs and Impact were stated clearly
- [ ] Adequate tests were added if applicable
- [ ] CI passed
@hudi-bot run azure
@hudi-bot run azure
CI report:
- 8ac00969346da77a607763f88facee8a518a26c9 Azure: SUCCESS
Bot commands
@hudi-bot supports the following commands:@hudi-bot run azurere-run the last Azure build