You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by GitBox <gi...@apache.org> on 2026/05/21 10:49:50 UTC
[GH] (jackrabbit-oak/OAK-2.0.0-plus-fixes): Workflow run "Build" is working again!
The GitHub Actions job "Build" on jackrabbit-oak.git/OAK-2.0.0-plus-fixes has succeeded.
Run started by GitHub user reschke (triggered by reschke).
Head commit for run:
afee6259558aba0b6101e683e72f57f1d9a6139a / Rishabh Kumar <ri...@gmail.com>
OAK-12214 : segment cache notify L2 on L1 hits to keep frequency/recency accurate (#2903)
* OAK-12214 : segment cache: notify L2 on L1 hits to keep frequency/recency accurate
L1 memoization in SegmentId serves most segment reads without touching L2.
This means W-TinyLFU admission sketches and LRU recency lists never see hot
segments, and the eviction policy treats them as cold — potentially evicting
them under pressure.
SegmentCache.recordHit(SegmentId) now calls cache.getIfPresent(id) to
register the access with the L2 backing store. The behaviour is controlled
by feature toggle FT_NOTIFY_L2_OAK-12214 (enabled by default). Also adds
cleanUp() to flush pending Caffeine maintenance before reading eviction stats.
Co-Authored-By: Claude Sonnet 4.6 <no...@anthropic.com>
* OAK-12214 : notify L2 caffeine cache if we got a hit on L1 to keep its internal frequency updated such that we don't evict hot segments
* OAK-12214 : removed cleanUp() method, not needed
* OAK-12214 : write test cases to reproduce the behaviour consistently
* OAK-12214 : addressed review comments
* OAK-12214 : updated javadocs to reflect correct oak version
* OAK-12214 : renamed FT
---------
Co-authored-by: Claude Sonnet 4.6 <no...@anthropic.com>
Report URL: https://github.com/apache/jackrabbit-oak/actions/runs/26216195132
With regards,
GitHub Actions via GitBox