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

   
   ### Describe the issue this Pull Request addresses
   
   For table version v6, when a rollback on data table is applied to metadata 
table (MDT), the corresponding deltacommit (of target instant to rollback on 
data table) is rolled back as well. 
   We should use a refreshed active timeline though before attempting this 
rollback, as the rollback failed writes phase of the preceding MDT deltacommit 
might have already rolled back this instant (with the refreshed timeline). And 
we will not attempt this rollback on MDT if the target instant is no longer on 
timeline
   
   ### Summary and Changelog
   
   Use a refreshed timeline before attempting to rollback corresponding 
deltacommit on MDT. This will prevent attempting to rollback an instant in MDT 
that is already rolled-back.
   
   ### Impact
   
   None. We already have an existing check to ensure target instant to rollback 
is after latest compaction.
   
   ### Risk Level
   
   low
   
   ### Documentation Update
   
   None
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Enough context is provided in the sections above
   - [ ] 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