zhjwpku opened a new pull request, #868:
URL: https://github.com/apache/iceberg-cpp/pull/868

   Pending updates need deterministic ownership and finalization across both 
standalone commits and explicit transactions. Register updates through shared 
ownership so transactions can retain and finalize them safely, and scope the 
temporary transaction binding used by standalone commits so it never escapes 
through TransactionContext.
   
   Finalize no-op commits and failed applies so every update reaches a terminal 
state and staged files are cleaned even when the caller never commits the 
transaction. During Transaction::Commit retries, defer eager finalization while 
updates are being reapplied; otherwise a retryable validation error would 
finalize the transaction and destroy staged state before RetryRunner can retry. 
Restore the retry lifecycle marker with RAII when commit exits or throws.
   
   Tests cover detached temporary transactions, cleared standalone bindings, 
rejection of unshared standalone updates, no-op and apply-failure finalization, 
staged-file cleanup, standalone retry reapplication, and lifecycle restoration 
after commit exceptions.


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