morningman commented on a change in pull request #3766:
URL: https://github.com/apache/incubator-doris/pull/3766#discussion_r434963203



##########
File path: fe/src/main/java/org/apache/doris/service/FrontendServiceImpl.java
##########
@@ -808,7 +808,8 @@ private void loadTxnRollbackImpl(TLoadTxnRollbackRequest 
request) throws UserExc
             checkPasswordAndPrivs(cluster, request.getUser(), 
request.getPasswd(), request.getDb(),
                     request.getTbl(), request.getUser_ip(), 
PrivPredicate.LOAD);
         }
-        Database db = Catalog.getInstance().getDb(request.getDb());
+        String dbName = cluster + ":" + request.getDb();

Review comment:
       Use `ClusterNamespace.getFullName()` for safety




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

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