mengw15 opened a new pull request, #9555: URL: https://github.com/apache/texera/pull/9555
### What changes were proposed in this PR? Iceberg catalog clients are cached one per warehouse, bounded at 64 entries and a 60-minute idle expiry (#7539). Both bounds were hardcoded; they now come from `storage.conf`, overridable with `STORAGE_ICEBERG_CATALOG_CACHE_MAX_SIZE` and `STORAGE_ICEBERG_CATALOG_CACHE_IDLE_EXPIRY_MINUTES`. The defaults are unchanged. A computing unit touches the few warehouses of the executions it runs, but result-service reads every user's results, so its deployment may need a larger bound. Past the bound nothing fails: the least recently used client is dropped and rebuilt on its next use, at the cost of a round trip to Lakekeeper. ### Any related issues, documentation, discussions? Part of #8995. Follows #7539, which bounded the cache. ### How was this PR tested? A new `StorageConfigSpec` case pins both defaults, so a renamed key or a changed default fails it; raising a default turned it red. `IcebergCatalogInstanceSpec` passes unchanged, and scalafmt and scalafix pass for Config and WorkflowCore. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-opus-5-5) -- 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]
