amogh-jahagirdar commented on PR #6638: URL: https://github.com/apache/iceberg/pull/6638#issuecomment-1414441586
Thanks for the review @flyrain really appreciate it! So there are a few operations: 1.) replaceBranch (this PR) -> Replace branch will change the snapshot that the branch points to. Nothing will be removed here. The same principle applies for replaceTag. 2.) removeBranch -> This will remove the branch from the references in metadata. Correct that a branch will be cleaned up during snapshot expiration if it is past the reference retention age `maxRefAgeMs` in the code. The updated expiration algorithm which considers branching and tagging can be found here https://iceberg.apache.org/spec/#snapshot-retention-policy I'm also working on a PR for a dedicated branching/tagging doc page which has some details there. https://github.com/apache/iceberg/pull/6723 appreciate any feedback on this as well if anything is unclear! -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org