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

Rishabh Daim resolved OAK-12159.
--------------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed

> Migrate oak-blob-plugins to Oak Cache API
> -----------------------------------------
>
>                 Key: OAK-12159
>                 URL: https://issues.apache.org/jira/browse/OAK-12159
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>            Reporter: Rishabh Daim
>            Assignee: Rishabh Daim
>            Priority: Major
>             Fix For: 2.0.0
>
>
> Migrate all cache usages in oak-blob-plugins from CacheLIRS / Guava shim to 
> OakCache.
>   Changes:
>   - FileCache — CacheLIRS.newBuilder() → OakCacheBuilder.newBuilder(); Cache 
> → OakCache; CacheLIRS.EvictionCallback → OakRemovalListener; stats via 
> OakCacheStatsAdapter
>   - UploadStagingCache — update cache types
>   - CompositeDataStoreCache — update cache types
>   - AbstractSharedCachingDataStore — update cache types
>   - CachingBlobStore — update cache types
>   - DataStoreCacheUpgradeUtils — update cache types
>   - Update all callers catching ExecutionException to handle 
> CompletionException/RuntimeException
>   Acceptance criteria:
>   - No org.apache.jackrabbit.guava.common.cache imports in 
> oak-blob-plugins/src/main/java
>   - No CacheLIRS references in oak-blob-plugins/src/main/java
>   - File cache eviction/deletion behavior unchanged
>   - All blob-plugins cache tests pass



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

Reply via email to