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

   ### Describe the issue this Pull Request addresses
   
   Fix `HoodieRollbackException` during clean operations caused by incorrect 
validation of commits against compaction scope. The existing validation logic 
incorrectly blocked rollback of instants - commits that were requested before a 
compaction but completed after the compaction finished.
   
   ### Summary and Changelog
   
   Summary: Improved rollback validation to correctly identify the relevant 
compaction instant and accurately determine if the commit to rollback instant 
time was included in the compaction plan or not.
   
   Changes:
   Enhanced `validateRollback()` method to find the specific compaction instant 
that occurred around the time of the commit being rolled back
   Added `wasCommitInCompactionScope()` method that properly checks if a commit 
was actually included in a compaction plan or not.
   
   ### Impact
   
   Eliminates false rollback failures by correctly identifying which commits 
were actually compacted versus those that only appear chronologically related 
in the timeline.
   
   ### Risk Level
   
   low
   
   ### Documentation Update
   
   No update on documentation. It's a fix.
   
   ### Contributor's checklist
   
   - [x] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [x] Enough context is provided in the sections above
   - [x] Adequate tests were added if applicable
   


-- 
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