Alexey Kudinkin created HUDI-3342:
-------------------------------------

             Summary: MOR Delta Block rollbacks is not working correctly if 
lazy Block reading is disabled
                 Key: HUDI-3342
                 URL: https://issues.apache.org/jira/browse/HUDI-3342
             Project: Apache Hudi
          Issue Type: Bug
            Reporter: Alexey Kudinkin


While working on HUDI-3322, i've spotted following contraption:

When we are rolling back Delta Commits, we add corresponding 
{{ROLLBACK_PREVIOUS_BLOCK}} Command Block at the back of the "queue".

 

However, when reading that MOR table if the reader does not specify 
`readBlocksLazily=true`, we'd be merging Blocks eagerly therefore essentially 
rendering such Rollback Blocks useless, resurrecting the data that was 
previously rolled back.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to