prashantwason opened a new pull request, #8606: URL: https://github.com/apache/hudi/pull/8606
[MINOR] Check the return value from delete during rollback and finalize to ensure the files actually got deleted. ### Change Logs Return value from FileSystem.delete call is checked. It should be true in case delete was successful. If the return value is false, we check if the file exists. ### Impact Improves the guarantee that files are deleted when required. We have seen cases where the call returns false and the file is left over. This causes data inconsistency issues (duplicate data, incomplete rollback) in HUDI dataset. ### Risk level (write none, low medium or high below) None ### Documentation Update None ### Contributor's checklist - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [ ] Change Logs and Impact were stated clearly - [ ] Adequate tests were added if applicable - [ ] CI passed -- 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]
