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

   ### Purpose
    - Tag is meant to be permanent and outlive expired snapshots, even when the 
snapshot has expired. 
    - However when a branch is attempted from a tag, whose underlying snapshot 
expired, it fails with FNF.
    - This is because create snapshot uses the main snapshot file for copying 
instead of the tag file. (Snapshot file is gone but tag file remains)
    - For expired snapshot, write the branch from tag instead of copying a 
deleted file, similar to the RollbackHelper createSnapshotFileIfNeeded.
   
   ### Tests
    - UT


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