jerryshao opened a new issue, #11133: URL: https://github.com/apache/gravitino/issues/11133
## Describe the subtask `TABLE_METADATA_CACHE_IMPL` has no default value, causing every default deployment to fall back to `TableMetadataCache.DUMMY`. Every `loadTable` call reads `metadata.json` from object storage on every request, with no caching. Latency degrades silently as commit history grows. Separately, the default capacity of 200 is too small for enterprise working sets. **Files:** - `iceberg/iceberg-common/src/main/java/org/apache/gravitino/iceberg/common/IcebergConfig.java:265-270` (no default for `TABLE_METADATA_CACHE_IMPL`) - `iceberg/iceberg-common/src/main/java/org/apache/gravitino/iceberg/common/IcebergConfig.java:272-277` (capacity default 200) - `iceberg/iceberg-common/src/main/java/org/apache/gravitino/iceberg/common/ops/IcebergCatalogWrapper.java:391-396` (DUMMY fallback when IMPL is unset) **Fix:** 1. Change `TABLE_METADATA_CACHE_IMPL` to default to `LocalTableMetadataCache`. 2. Raise the default capacity from 200 to 1000–2000. ## Parent issue https://github.com/apache/gravitino/issues/11131 -- 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]
