jerryshao commented on code in PR #9563:
URL: https://github.com/apache/gravitino/pull/9563#discussion_r2647398830


##########
core/src/main/java/org/apache/gravitino/catalog/CatalogManager.java:
##########
@@ -562,7 +560,7 @@ public void enableCatalog(NameIdentifier ident)
           checkMetalake(metalakeIdent, store);
 
           try {
-            if (catalogInUse(store, ident)) {
+            if (getCatalogInUseValue(store, ident)) {

Review Comment:
   You can also check my change in #9502 , we can remove the call of 
`checkMetalake`, using `catalogInUse` should be enough. WDYT?



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