luoyuxia opened a new pull request, #3864: URL: https://github.com/apache/fluss/pull/3864
### Purpose\n\nLinked issue: close #3862\n\nHistorical partition lookups materialize local Paimon lookup files on TabletServers. Bound their configured disk capacity across tables, keep cached lookupers consistent with table and lake configuration changes, and expose focused operational metrics.\n\n### Brief change log\n\n- Add server-wide and per-table historical lookup cache size options with table validation.\n- Reserve configured capacity per cached table lookuper and evict inactive entries in least-recently-used order when admission needs space.\n- Use stable per-table cache directories, clean stale directories at startup, and recreate lookupers after relevant table or lake configuration changes.\n- Support dynamic server cache-capacity updates through the cluster configuration procedure.\n- Add cached-table, capacity-eviction, request, in-flight, lookup latency, and lookup-file-materialization metrics.\n\n### Tests\n\n- ./mvnw -pl fluss-common,fluss-rpc,fluss-server -DskipTe sts install\n- ./mvnw -pl fluss-common -Dtest=FlussConfigUtilsTest,TableConfigTest test\n- ./mvnw -pl fluss-server -Dtest=HistoricalLakeLookupManagerTest,HistoricalLookupCacheBudgetManagerTest,HistoricalPartitionTableValidationTest,TableMetricGroupTest test\n- ./mvnw -pl fluss-lake/fluss-lake-paimon clean -Dtest=PaimonLakeTableLookuperTest test\n- Flink procedure integration validation is still running.\n\n### API and Format\n\nAdds server and table configuration options and extends the evolving lake lookup context with a metric recorder. It does not change the RPC wire format or storage format.\n\n### Documentation\n\nThe configuration options include descriptions, and the cache lifecycle and capacity semantics are covered by the historical lookup local cache management design document.\n\nGenerative AI: Yes — Codex (GPT-5), following the repository AGENTS.md guidelines.\n\n<!-- Generated-by: Codex (GPT-5) following https://github.com/apache/fluss/blob/main/AGENTS.md --> -- 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]
