ViktorBystrov72 opened a new pull request, #21092:
URL: https://github.com/apache/hudi/pull/21092

   ### Describe the issue this Pull Request addresses
   
   Closes #21035. Part of #20988.
   
   ### Summary and Changelog
   
   Cache the bytes and records written by each completed instant. The profile 
can revisit small commits without summing their write stats again. Missing 
metadata stays retryable, and completed instants still age out of the cache.
   
   ### Impact
   
   Average record size and records-per-bucket use the same formula and 
calibration. The cache keeps two totals per instant instead of its complete 
metadata.
   
   ### Risk Level
   
   Low. A Java 21 probe against the original and updated estimator used 100 
below-threshold refreshes. Aggregation calls dropped from 10,100 to 200 with 
the same metadata loads and estimates. The probe also exercised unreadable 
metadata retry, a different calibration factor, and eviction. The full Flink 
suite was not run locally.
   
   ### Documentation Update
   
   None.
   
   ### Contributor's checklist
   
   - [x] Read the contributor's guide.
   - [x] Updated the cache and record-size tests to use the new representation.
   


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

Reply via email to