[
https://issues.apache.org/jira/browse/OAK-12154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rishabh Daim resolved OAK-12154.
--------------------------------
Fix Version/s: 2.0.0
Resolution: Fixed
> Migrate oak-store-document cache infrastructure to Oak Cache API
> ----------------------------------------------------------------
>
> Key: OAK-12154
> URL: https://issues.apache.org/jira/browse/OAK-12154
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Reporter: Rishabh Daim
> Assignee: Rishabh Daim
> Priority: Major
> Fix For: 2.0.0
>
>
> Migrate the core cache infrastructure in oak-store-document from CacheLIRS /
> Guava shim to OakCache.
> Changes:
> - DocumentNodeStoreBuilder — replace CacheLIRS.newBuilder() calls with
> OakCacheBuilder.newBuilder(); oak.cache.type toggle controls backing
> implementation
> - cache/NodeDocumentCache — Cache types to OakCache; asMap() calls unchanged
> - cache/ForwardingListener — RemovalCause to OakRemovalCause; implement
> OakRemovalListener
> - persistentCache/EvictionListener — RemovalCause to OakRemovalCause
> - CachingCommitValueResolver — Cache to OakCache
> - CacheStats construction sites — replace with OakCacheStatsAdapter
> - Update all callers catching ExecutionException to handle
> CompletionException/RuntimeException
> Acceptance criteria:
> - NodeDocumentCacheTest, CacheChangesTrackerTest, AsyncCacheTest,
> DisableCacheTest pass
> - Synchronous eviction callback timing preserved
--
This message was sent by Atlassian Jira
(v8.20.10#820010)