yuqi1129 commented on code in PR #6569: URL: https://github.com/apache/gravitino/pull/6569#discussion_r1974963141
########## core/src/main/java/org/apache/gravitino/metalake/MetalakeManager.java: ########## @@ -60,6 +67,21 @@ public class MetalakeManager implements MetalakeDispatcher { private final IdGenerator idGenerator; + @VisibleForTesting + static final Cache<NameIdentifier, BaseMetalake> METALAKE_CACHE = Review Comment: Cacheing `BaseMetalake` will take only a little memory and can use it when `loadingMetalake` by the way. -- 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: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org