[
https://issues.apache.org/jira/browse/OAK-12156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rishabh Daim resolved OAK-12156.
--------------------------------
Fix Version/s: 2.0.0
Resolution: Fixed
> Migrate oak-store-document persistent cache and document stores to Oak Cache
> API
> --------------------------------------------------------------------------------
>
> Key: OAK-12156
> URL: https://issues.apache.org/jira/browse/OAK-12156
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Reporter: Rishabh Daim
> Assignee: Rishabh Daim
> Priority: Major
> Fix For: 2.0.0
>
>
> Migrate persistent cache and document store cache usages in
> oak-store-document from Guava shim / CacheLIRS to OakCache.
> Changes:
> - persistentCache/NodeCache — Cache to OakCache
> - persistentCache/PersistentCache — Cache to OakCache
> - DocumentNodeStore — change Cache field types to OakCache
> - NodeDocument — update cache type references
> - MongoDocumentStore — remove direct Guava cache references
> - RDBDocumentStore — remove direct Guava cache references
> - MemoryDocumentStore, JournalDiffLoader — update if they reference cache
> types
> - Update all callers catching ExecutionException to handle
> CompletionException/RuntimeException
> Acceptance criteria:
> - No org.apache.jackrabbit.guava.common.cache imports in
> oak-store-document/src/main/java
> - persistentCache.CacheTest, persistentCache.NodeCacheTest pass
> - Persistent cache eviction behavior unchanged
--
This message was sent by Atlassian Jira
(v8.20.10#820010)