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

   When enable file group reader, there will be data loss when we follow the 
following process to execute:
   
   1. insert record with id(0)
   2. delete record with id(0)
   3. insert record with id(0) again
   
   We expected to see the record id=0, but it turns out to be empty.
   
   > test in ut
   
   <img width="723" alt="image" 
src="https://github.com/user-attachments/assets/ccb12171-53b8-4584-8b0f-ba8852ea867c";
 />
   
   > error
   
   <img width="1338" alt="image" 
src="https://github.com/user-attachments/assets/aa9669b2-53bf-4541-8e46-876bea32d0ce";
 />
   
   ### Change Logs
   1. Fix data loss in insert/delete/ insert-again cases
   
   ### Impact
   
   bugfix
   
   ### Risk level (write none, low medium or high below)
   
   low
   
   ### Documentation Update
   
   none
   
   ### Contributor's checklist
   
   - [x] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [x] Change Logs and Impact were stated clearly
   - [x] Adequate tests were added if applicable
   - [x] CI passed
   


-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to