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

   ### Apache Iceberg version
   
   None
   
   ### Please describe the bug 🐞
   
   Right now, `Commit()` in `Transaction` adds a requirement that the target 
branch still points at the snapshot the transaction read. `TableCommit` in 
`Transaction`, which builds the payload for multi-table commits, does not.
   
   Snapshot-productions txns add that requirement themselves, so they are fine. 
Metadata-only ones (`SetProperties`, `UpdateSchema`) do not, so their 
multi-table commit succeeds even if another writer moved the branch - the 
writer's read-modify-write silently breaks.
   
   Both paths were matching until #1657, which routed only `Commit` through the 
shared helper.


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