hdygxsj commented on code in PR #9803:
URL: https://github.com/apache/gravitino/pull/9803#discussion_r2736624823


##########
server-common/src/main/java/org/apache/gravitino/server/authorization/MetadataAuthzHelper.java:
##########
@@ -136,6 +137,7 @@ public static NameIdentifier[] filterByExpression(
       String expression,
       Entity.EntityType entityType,
       NameIdentifier[] nameIdentifiers) {
+    preloadToCache(entityType, nameIdentifiers);

Review Comment:
   Regarding the first point, I've optimized the code so that batchGet is now 
only performed for entities not present in the cache.
   Regarding the second point: Yes.



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