robertmu opened a new issue, #1372:
URL: https://github.com/apache/cloudberry/issues/1372

   These hooks are intended to allow custom Table Access Methods (AMs) to 
manage resources during DML operations. The ext_dml_init_hook and 
ext_dml_finish_hook in src/include/access/tableam.h are currently implemented 
as global hooks.
   
   This design is flawed because if multiple table access methods are loaded, 
they will overwrite each other's hooks. For example, a DML operation on a pax 
table could incorrectly trigger a hook that was set by a different, custom 
table AM(iceberg). This will lead to incorrect behavior and instability.


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