plusplusjiajia opened a new pull request, #7596:
URL: https://github.com/apache/paimon/pull/7596

   ### Purpose
   Fix incorrect manifest entry merge logic in `read_entries_parallel()` that 
has existed since #6451.
   
   The old implementation collected all DELETE identifiers into a global set, 
then filtered out all matching ADDs. This caused two bugs:
   
     1. **Compaction file loss**: When a file goes through ADD → DELETE → 
re-ADD (same identifier), the global DELETE set filters out *both* ADDs, 
causing the re-added file to disappear from the result.
     2. **Unmatched DELETE silently dropped**: DELETE entries without a 
matching ADD were never included in the output, losing deletion information for 
downstream consumers (e.g., manifest compaction rewrite,
     changelog reads).
   


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