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

   ### Purpose
   
   Fixes #11365.
   
   Include compaction changelog outputs in the existing recovery file check. A 
primary-key full-compaction writer can produce a changelog before any snapshot 
is committed; restoring that checkpoint currently accepts the messages after 
that changelog file has been removed.
   
   Reuse the existing physical-path resolution, deduplication, and missing-file 
error. Already committed identifiers remain filtered before the check.
   
   ### Tests
   
   `CompactionChangelogRecoveryTest` covers a missing output, an intact output 
read through the streaming scan, and an already committed identifier. The 
missing-output case fails on the unchanged current base; all three pass after 
the fix.
   
   All nine scoped tests, including `CompactedChangelogPathResolverTest`, 
passed with normal Maven Checkstyle, Spotless, and Enforcer checks, followed by 
the core source RAT check. Codegen plugin resources were packaged before the 
executable baseline. JDK 11, Java 8 source target; no full engine job was run.
   


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