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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to