mchades commented on code in PR #6569:
URL: https://github.com/apache/gravitino/pull/6569#discussion_r1974876857


##########
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:
   If our goal is to accelerate the acquisition of `in-use`, it seems that we 
only need to cache the corresponding `in-use` value, and do not need to cache 
BaseMetalake.



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