mchades commented on code in PR #9574:
URL: https://github.com/apache/gravitino/pull/9574#discussion_r2667035780
##########
core/src/main/java/org/apache/gravitino/catalog/CatalogManager.java:
##########
@@ -865,12 +854,6 @@ public CatalogWrapper loadCatalogAndWrap(NameIdentifier
ident) throws NoSuchCata
return catalogCache.get(ident, this::loadCatalogInternal);
}
- private boolean catalogInUse(EntityStore store, NameIdentifier ident)
- throws NoSuchMetalakeException, NoSuchCatalogException {
- NameIdentifier metalakeIdent =
NameIdentifier.of(ident.namespace().levels());
- return metalakeInUse(store, metalakeIdent) && getCatalogInUseValue(store,
ident);
- }
-
private boolean getCatalogInUseValue(EntityStore store, NameIdentifier
catalogIdent) {
Review Comment:
Is there room for optimization in this method?
--
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]