mehakmeet commented on issue #10713:
URL: https://github.com/apache/gravitino/issues/10713#issuecomment-4205474639

   > If we use Manager -> EventManager -> HookManger and fail to set the owner, 
it will cause the creation failure, but we receive the successful creation 
event.
   
   You mean if we do this approach: HookDispatcher → EventDispatcher → Manager ?
   
   So, if the manager created an object it would be there in the db, we set the 
owner after that creation, so we should send the successful event, if set owner 
fails, we would still have that object, just without an owner. Rollback cleans 
these cases and raises delete event, but I understand your concern around the 
schema.


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

Reply via email to