VladRodionov opened a new pull request, #8231:
URL: https://github.com/apache/hbase/pull/8231

   ## Summary
   
   This PR introduces `CacheAccessService`, an HBase-facing cache access 
abstraction for block cache read/write path callers.
   
   The new service layer preserves the core operational shape of the existing 
`BlockCache` API while moving callers toward context-based cache access using 
`CacheRequestContext` and `CacheWriteContext`.
   
   ## Changes
   
   - Adds `CacheAccessService`
   - Adds `BlockCacheBackedCacheAccessService` as a compatibility adapter over 
existing `BlockCache`
   - Adds `NoOpCacheAccessService` for disabled-cache wiring
   - Adds `CacheAccessServices` helper factory methods
   - Adds unit tests for block-cache-backed and disabled-cache behavior
   - Adds `TopologyBackedCacheAccessService` to connect the service layer to 
`CacheTopology`, `CacheEngine`, and `CachePlacementAdmissionPolicy`
   - Adds tests for topology-backed lookup, insertion, eviction, sizing, and 
factory behavior
   
   ## Notes
   
   This PR does not migrate `HFileReaderImpl`, `BlockCacheFactory`, or 
write-path callers yet. It only introduces the service abstraction and 
compatibility adapter so later PRs can migrate call sites incrementally.
   
   No behavior change is intended for existing cache implementations.


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