jerqi commented on code in PR #7726:
URL: https://github.com/apache/gravitino/pull/7726#discussion_r2209438118


##########
server-common/src/main/java/org/apache/gravitino/server/authorization/jcasbin/JcasbinAuthorizer.java:
##########
@@ -57,6 +61,8 @@ public class JcasbinAuthorizer implements GravitinoAuthorizer 
{
   /** Jcasbin enforcer is used for metadata authorization. */
   private Enforcer enforcer;
 
+  private final Set<String> serviceAdmins = Collections.synchronizedSet(new 
HashSet<>());

Review Comment:
   How about using `ConcurrentHashSet`?



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