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


   ## What is the purpose of the pull request
   
   If clustering/compaction rollback failed mid-way, if rollback of a pending 
clustering/compaction is re-attempted, a new rollback instant will be 
generated. We would want to retry using the same rollback instant. Main 
motivation is that, the old failed rollback instant is never cleaned up. And so 
it could lead to liveness issues w/ metadata table. 
   
   ## Brief change log
   
   - Fixed rolling back of pending clustering/compaction to re-use rollback 
instant if present. 
   
   ## Verify this pull request
   
   This change added tests and can be verified as follows:
   
   - Added 
TestHoodieSparkMergeOnReadTableInsertUpdateDelete#testRepeatedRollbackOfCompaction
   - Added TestHoodieClientOnCopyOnWriteStorage#testPendingClusteringRollback
   
   ## 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