mchades commented on code in PR #6569: URL: https://github.com/apache/gravitino/pull/6569#discussion_r1979544302
########## core/src/main/java/org/apache/gravitino/metalake/MetalakeManager.java: ########## @@ -331,6 +375,7 @@ public void enableMetalake(NameIdentifier ident) throws NoSuchMetalakeException try { boolean inUse = metalakeInUse(store, ident); if (!inUse) { + METALAKE_CACHE.invalidate(ident); store.update( Review Comment: cache the result 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