nsivabalan opened a new pull request, #5288:
URL: https://github.com/apache/hudi/pull/5288

   ## What is the purpose of the pull request
   
   Recently we made a [fix](https://github.com/apache/hudi/pull/4957) to 
listbased rollback strategy to rely on commit metadata for completed commits. 
For completed commits, we are relying on commit metadata to deduce the list of 
files to be deleted and we have fs.listStatus in one of the places. But there 
are chances, that a commit is cleaned up by the cleaner and hence no data files 
exists. So, fixing this to do exists check before to ensure we can ignore non 
existant files to be rolledback. 
   
   
   ## Brief change log
   
   - Fixed list based rollback strategy to ignore non existant data files while 
deducing list of files to delete for a complete commit. 
   
   ## Verify this pull request
   
   This change added tests and can be verified as follows:
   
   - TestHoodieSparkMergeOnReadTableRollback.testRestoreWithCleanedUpCommits
   
   ## 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]

Reply via email to