[ 
https://issues.apache.org/jira/browse/HBASE-30023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Rodionov updated HBASE-30023:
--------------------------------------
    Description: 
h2. Description

Refactor write path, prefetch, and compaction-related cache population to use 
*CacheAccessService* instead of directly interacting with *BlockCache*.

This change updates all non-read-path cache interactions to go through 
CacheAccessService, including:

* cache-on-write in *HFileWriter*
* prefetch-related cache population
* compaction-related cache population
* block invalidation triggered during file lifecycle events

h3. Scope

* Replace direct BlockCache calls in:
** HFile write path
** prefetch logic
** compaction workflows
* Route all cache population and invalidation operations through 
*CacheAccessService*
* Adapt existing parameters to use write and invalidation context objects

h3. Notes

* No behavior change intended
* Existing cache implementations (*LruBlockCache*, *BucketCache*, 
*CombinedBlockCache*) remain unchanged
* CacheAccessService continues to delegate to BlockCache in this phase
* Complements read-path migration by ensuring all cache interactions go through 
a unified abstraction

  was:
Description

Refactor write path, prefetch, and compaction-related cache population to use 
CacheAccessService instead of directly interacting with BlockCache.

This change updates all non-read-path cache interactions to go through 
CacheAccessService, including:
        •       cache-on-write in HFileWriter
        •       prefetch-related cache population
        •       compaction-related cache population
        •       block invalidation triggered during file lifecycle events

Scope
        •       Replace direct BlockCache calls in:
        •       HFile write path
        •       prefetch logic
        •       compaction workflows
        •       Route all cache population and invalidation operations through 
CacheAccessService
        •       Adapt existing parameters to use write and invalidation context 
objects

Notes
        •       No behavior change intended
        •       Existing cache implementations (LruBlockCache, BucketCache, 
CombinedBlockCache) remain unchanged
        •       CacheAccessService continues to delegate to BlockCache in this 
phase
        •       Complements read-path migration by ensuring all cache 
interactions go through a unified abstraction



> Refactor write path, prefetch, and compaction cache population to use 
> CacheAccessService
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-30023
>                 URL: https://issues.apache.org/jira/browse/HBASE-30023
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>            Priority: Major
>
> h2. Description
> Refactor write path, prefetch, and compaction-related cache population to use 
> *CacheAccessService* instead of directly interacting with *BlockCache*.
> This change updates all non-read-path cache interactions to go through 
> CacheAccessService, including:
> * cache-on-write in *HFileWriter*
> * prefetch-related cache population
> * compaction-related cache population
> * block invalidation triggered during file lifecycle events
> h3. Scope
> * Replace direct BlockCache calls in:
> ** HFile write path
> ** prefetch logic
> ** compaction workflows
> * Route all cache population and invalidation operations through 
> *CacheAccessService*
> * Adapt existing parameters to use write and invalidation context objects
> h3. Notes
> * No behavior change intended
> * Existing cache implementations (*LruBlockCache*, *BucketCache*, 
> *CombinedBlockCache*) remain unchanged
> * CacheAccessService continues to delegate to BlockCache in this phase
> * Complements read-path migration by ensuring all cache interactions go 
> through a unified abstraction



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to