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


##########
core/src/main/java/org/apache/gravitino/catalog/CatalogManager.java:
##########
@@ -738,45 +739,41 @@ public boolean dropCatalog(NameIdentifier ident, boolean 
force)
         metalakeIdent,
         LockType.WRITE,
         () -> {
-          checkMetalake(metalakeIdent, store);

Review Comment:
   You mean that it misses "metalake not in use exception" after my change? Let 
me check it. My initial feeling is that this part of code is quite messy and 
spread everywhere. It will be misused easily, we should figure out a better 
solution.



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