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

   Transaction methods currently each call ensureInitialized() before touching 
metadata. That works, but it is easy to miss a new entry point — PR #1388 
initially missed UpdateSchema/UpdateSpec, and review caught it.
   
   It would be safer to centralize this behind something like txnMeta() 
(*MetadataBuilder, error), so transaction code cannot access metadata without 
going through the initialization check.
   
   This should preserve the existing public API and include regression coverage 
for broken and nil transactions.
   
   Related: https://github.com/apache/iceberg-go/pull/1388


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