roryqi commented on issue #10713: URL: https://github.com/apache/gravitino/issues/10713#issuecomment-4205869181
> > > 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. > > I meant that REST API creation will fail if we created a schema and fail to set the owner. Let me think twice. -- 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]
