CalvinKirs opened a new pull request, #66717:
URL: https://github.com/apache/doris/pull/66717

   ## What changed
   
   - Add global, catalog, and entry memory budgets with precomputed weighted 
admission for external metadata caches.
   - Add full Hive, Iceberg, and Paimon size estimators, including frozen 
Iceberg metadata generations and manifests plus nested Paimon RowType indexes.
   - Add fail-closed SDK and literal-field coverage gates, focused tests, JMH 
benchmarks, and a design document.
   - Make cache miss, refresh, and invalidation fencing operate per key.
   
   ## Why
   
   Count-only capacity and sampled or reflection-only estimates can undercount 
highly skewed containers and newly added SDK-owned object graphs. Shared 
entry-wide invalidation generations can also suppress refreshes for unrelated 
keys.
   
   ## Impact
   
   Weighted mode accounts only complete, precomputed estimates and skips cache 
admission when ownership cannot be proven. Count-based behavior remains 
available. No optimizer, Nereids, scan-node, analysis-package, or system-table 
implementation is changed.
   
   ## Validation
   
   - Maven reactor: 10 related test classes, 126 tests, 0 failures, 0 errors.
   - Checkstyle: 0 violations.
   - Git diff whitespace validation passed.
   - JMH benchmark covers Hive, Iceberg, and Paimon publication plus 
prepared-weight and admission paths.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to