Prashant Wason created HUDI-6153:
------------------------------------

             Summary: Change the rollback mechanism for MDT to actual rollbacks 
rather than appending revert blocks
                 Key: HUDI-6153
                 URL: https://issues.apache.org/jira/browse/HUDI-6153
             Project: Apache Hudi
          Issue Type: Improvement
            Reporter: Prashant Wason
            Assignee: Prashant Wason


When rolling back completed commits for indexes like record-index, the list of 
all keys removed from the dataset is required. This information cannot be 
available during rollback processing in MDT since the files have already been 
deleted during the rollback inflight processing. 

Hence, the current MDT rollback mechanism of adding -files, -col_stats entries 
does not work for record index.

This PR changes the rollback mechanism to actually rollback deltacommits on the 
MDT. This makes the rollback handing faster and keeps the MDT in sync with 
dataset.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to