shangxinli opened a new pull request, #427: URL: https://github.com/apache/iceberg-cpp/pull/427
Prevents Transaction::Commit() from being called multiple times by: - Adding committed_ flag to track transaction state - Checking flag at start of Commit() and returning error if already committed - Setting flag after successful commit (both empty and non-empty updates) - Updating table_ reference after successful catalog update This ensures transactions can only be committed once, preventing unintended side effects and maintaining transaction semantics. -- 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]
