roryqi commented on code in PR #10180:
URL: https://github.com/apache/gravitino/pull/10180#discussion_r2883232060
##########
iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/IcebergCatalogWrapperManager.java:
##########
@@ -56,7 +56,7 @@ public IcebergCatalogWrapperManager(
this.configProvider = configProvider;
this.catalogWrapperCache =
Caffeine.newBuilder()
- .expireAfterWrite(
+ .expireAfterAccess(
Review Comment:
If a catalog is changed in the another server, the catalog won't be updated
in this server if the catalog is always accessed.
--
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]