jerqi commented on PR #8120:
URL: https://github.com/apache/gravitino/pull/8120#issuecomment-3232335680

   Actually, we have upper layer lock to 
   
   > For example, getRole() finds the role, but another thread/process deletes 
it before the deleteRole() call, the deleteRole() would then return false (as 
no such role exists now), while oldRole is still non-null, and you would call 
notifyRoleUserRelChange when no change was made. This fix stops that from 
happening.
   
   OK.


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