hdygxsj commented on issue #9518:
URL: https://github.com/apache/gravitino/issues/9518#issuecomment-3684732328

   After addressing the aforementioned issue, my main approach is as follows:
   
   Adding batch operations to EntityStore is necessary. We could start by 
implementing batch operations for certain metadata types—such as tables—but we 
must carefully consider how to ensure that the cache results remain consistent 
with those from individual requests.
   
   Next, before performing concurrent authorization in 
org.apache.gravitino.server.authorization.MetadataAuthzHelper#doFilter, we can 
invoke a single batch operation on EntityStore to preload all relevant metadata 
IDs into the cache, thereby ensuring they are available during subsequent 
parallel authorization checks.
   
   <img width="1680" height="788" alt="Image" 
src="https://github.com/user-attachments/assets/1591309d-5e92-41f7-b0f0-f4ac9adb8505";
 />


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