yuqi1129 opened a new pull request, #12043: URL: https://github.com/apache/gravitino/pull/12043
### What changes were proposed in this pull request? Add removal logs to all production Caffeine removal listeners. The logs include cache-specific keys or identifiers and the removal cause, while avoiding cached values that may be sensitive or large. ### Why are the changes needed? Cache expiration, eviction, replacement, and explicit invalidation were not consistently observable across modules. These logs make cache lifecycle and resource cleanup easier to diagnose. Fix: N/A ### Does this PR introduce _any_ user-facing change? Yes. Cache removal logs now include cache keys or identifiers and removal causes. There are no API or configuration changes. ### How was this patch tested? - Ran `./gradlew spotlessApply`. - Ran targeted unit tests for the affected core, server-common, catalog-fileset, hive-metastore-common, filesystem-hadoop3, iceberg-common, and iceberg-rest-server modules. - Attempted `./gradlew test -PskipITs`; an unrelated `TestJDBCBackendBatchGet` PostgreSQL case failed because the container reported `No space left on device`. -- 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]
