JingsongLi commented on PR #9348:
URL: https://github.com/apache/paimon/pull/9348#issuecomment-5386752338

   - `rebuildFullHistory` calls `expireAllBefore` at 
`IcebergCommitCallback:544` before the new metadata is fully constructed and 
published. This method deletes the manifest/list files referenced by the old 
metadata (lines `1853-1880`), even though the Hive/REST catalog might still 
point to that old metadata. During the reconstruction process—or if it fails 
midway—external readers could obtain metadata with deleted dependencies, 
thereby violating the "single external transition" guarantee claimed in the PR. 
   - The "self-healing for corrupted metadata" path is effectively 
non-functional: while a candidate read operation catches the exception at lines 
`519-533` and initiates a rebuild from scratch, the subsequent call to 
`expireAllBefore` at line `1861` attempts to parse the same corrupted file 
without safeguards, causing the rebuild to fail immediately.


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