gavinchou commented on code in PR #43766:
URL: https://github.com/apache/doris/pull/43766#discussion_r1837700746


##########
fe/fe-core/src/main/java/org/apache/doris/mysql/privilege/UserProperty.java:
##########
@@ -390,10 +390,11 @@ public void update(List<Pair<String, String>> properties, 
boolean isReplay) thro
         defaultCloudCluster = newDefaultCloudCluster;
     }
 
-    private String checkCloudDefaultCluster(String[] keyArr, String value, 
String defaultComputeGroup)
+    private String checkCloudDefaultCluster(String[] keyArr, String value, 
String defaultComputeGroup, boolean isReplay)
             throws ComputeGroupException, DdlException {
         // check cluster auth
-        if (!Strings.isNullOrEmpty(value) && 
!Env.getCurrentEnv().getAuth().checkCloudPriv(
+        // isReplay not check auth, not throw exception

Review Comment:
   if replay just return?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to