lasdf1234 opened a new pull request, #11156: URL: https://github.com/apache/gravitino/pull/11156
### What changes were proposed in this pull request? 1. Default `table-metadata-cache-impl` to `LocalTableMetadataCache` in `IcebergConfig` and lakehouse-iceberg catalog property metadata. 2. Raise default `table-metadata-cache-capacity` from **200** to **1000**. 3. In `IcebergCatalogWrapper`, skip cache initialization (use `TableMetadataCache.DUMMY`) when the catalog backend does not support metadata location, instead of failing wrapper construction. 4. Update IRC and lakehouse-iceberg catalog documentation defaults. ### Why are the changes needed? Fixes #11133 Without a default cache implementation, deployments fall back to `TableMetadataCache.DUMMY` and every `loadTable` reads `metadata.json` from object storage. The previous default capacity of 200 is also too small for typical production working sets. ### Does this PR introduce _any_ user-facing change? Yes. 1. New deployments that do not set `table-metadata-cache-impl` use `LocalTableMetadataCache` by default (when the catalog supports metadata location). 2. Default `table-metadata-cache-capacity` changes from **200** to **1000**. Explicit configuration is unchanged. ### How was this patch tested? - Added `testTableMetadataCacheDefaults` in `TestIcebergConfig`. - `./gradlew :iceberg:iceberg-common:test -PskipITs --tests "org.apache.gravitino.iceberg.common.TestIcebergConfig" --tests "org.apache.gravitino.iceberg.common.ops.TestIcebergCatalogWrapper"` Made with [Cursor](https://cursor.com) -- 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]
