henrib commented on issue #13800: URL: https://github.com/apache/iceberg/issues/13800#issuecomment-3201184269
@pvary Hive 4.1 MetaStore server exposes the Iceberg REST Catalog API through a dedicated servlet; that servlet delegates its calls to a HiveCatalog instance wrapped in a cache to try and avoid reloading tables. I understand the cache was initially meant for client-side; however, besides loadTable(), it delegates every call to a catalog instance. By overloading loadTable(), it allows checking that the table object to be returned is not stale (this replaces for the better a TTL based eviction). We could add the cache to HiveCatalog itself; we can probably 'drive' its existence through configuration. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
