You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "badalprasadsingh (via GitHub)" <gi...@apache.org> on 2026/08/13 17:29:13 UTC

[I] Transaction: RollbackToSnapshot ignores the transaction's target branch and always operates on main [iceberg-go]

badalprasadsingh opened a new issue, #1827:
URL: https://github.com/apache/iceberg-go/issues/1827

   ### Apache Iceberg version
   
   main (development)
   
   ### Please describe the bug 🐞
   
   The function `RollbackToSnapshot` hardcodes the main branch for both the ancestor-check snapshot and the ref it writes to, ignoring the `t.branch`. On a transaction opened via the new transaction on branch, lets say, "feature", calling `RollbackToSnapshot` either:
   - silently rolls back to **main** instead of the targeted branch, or,
   - silently succeeds as a no-op that never touches the targeted branch
   
   Eventually, the targeted branch is never modified in each case.
   
   ### Status
   
   Will quickly raise the PR for this fix. Intentionally keeping it out of PRs for #1636 or #1638.


-- 
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-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Transaction: RollbackToSnapshot ignores the transaction's target branch and always operates on main [iceberg-go]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade closed issue #1827: Transaction: RollbackToSnapshot ignores the transaction's target branch and always operates on main
URL: https://github.com/apache/iceberg-go/issues/1827


-- 
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-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org