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

Rishabh Daim updated OAK-12436:
-------------------------------
    Description: 
h3. Summary
Add per-cache SYNC/ASYNC Caffeine maintenance selection to the shared 
CacheBuilder API. ASYNC remains the default.

h3. Scope and order
This is the first PR, based on the latest trunk. Bundle policy is selected 
explicitly by each cache or by the bundle's own override. OAK-12438 separately 
migrates Segment Tar's FT_OAK-12290 integration. OAK-12425 adds 
DocumentNodeStore per-CacheType wiring and entry-owned metadata. OAK-12426, 
including OAK-12437, benchmarks the completed production paths.

h3. Acceptance Criteria
# CacheBuilder supports independent SYNC and ASYNC selection per instance, 
validates null input, and preserves the ASYNC default.
# Explicit cache selection takes precedence over the deprecated legacy shared 
toggle while its existing Segment consumer is migrated by OAK-12438.
# Refresh loaders remain asynchronous and zero-capacity caches retain inline 
eviction.
# Exported API package version and binary compatibility are handled, with 
deprecated toggle symbols retained.
# Tests exercise defaults, independent policies, legacy precedence, refresh and 
zero capacity; targeted validation uses java17.
# Complete all implementation and stack dependencies before the final 
change-reviewer pass, then fix verified findings and push in dependency order.


h3. Stack and validation sequence
Use gh stack with dependent PRs based on their predecessor: latest trunk -> 
OAK-12436 -> OAK-12438 -> OAK-12425 -> OAK-12426 (also covering OAK-12437). 
Complete implementation first, then review each final PR from its base in 
dependency order, fix verified findings, validate with java17 and push.


  was:
h3. Summary
Add per-cache SYNC/ASYNC Caffeine maintenance selection to the shared 
CacheBuilder API. ASYNC remains the default.

h3. Scope and order
This is the first PR, based on the latest trunk. Bundle policy is selected 
explicitly by each cache or by the bundle's own override. OAK-12438 separately 
migrates Segment Tar's FT_OAK-12290 integration. OAK-12425 adds 
DocumentNodeStore per-CacheType wiring and entry-owned metadata. OAK-12426, 
including OAK-12437, benchmarks the completed production paths.

h3. Acceptance Criteria
# CacheBuilder supports independent SYNC and ASYNC selection per instance, 
validates null input, and preserves the ASYNC default.
# Explicit cache selection takes precedence over the deprecated legacy shared 
toggle while its existing Segment consumer is migrated by OAK-12438.
# Refresh loaders remain asynchronous and zero-capacity caches retain inline 
eviction.
# Exported API package version and binary compatibility are handled, with 
deprecated toggle symbols retained.
# Tests exercise defaults, independent policies, legacy precedence, refresh and 
zero capacity; targeted validation uses java17.
# Complete all implementation and stack dependencies before the final 
change-reviewer pass, then fix verified findings and push in dependency order.



> Support per-cache Caffeine maintenance mode
> -------------------------------------------
>
>                 Key: OAK-12436
>                 URL: https://issues.apache.org/jira/browse/OAK-12436
>             Project: Jackrabbit Oak
>          Issue Type: Task
>            Reporter: Rishabh Daim
>            Priority: Major
>
> h3. Summary
> Add per-cache SYNC/ASYNC Caffeine maintenance selection to the shared 
> CacheBuilder API. ASYNC remains the default.
> h3. Scope and order
> This is the first PR, based on the latest trunk. Bundle policy is selected 
> explicitly by each cache or by the bundle's own override. OAK-12438 
> separately migrates Segment Tar's FT_OAK-12290 integration. OAK-12425 adds 
> DocumentNodeStore per-CacheType wiring and entry-owned metadata. OAK-12426, 
> including OAK-12437, benchmarks the completed production paths.
> h3. Acceptance Criteria
> # CacheBuilder supports independent SYNC and ASYNC selection per instance, 
> validates null input, and preserves the ASYNC default.
> # Explicit cache selection takes precedence over the deprecated legacy shared 
> toggle while its existing Segment consumer is migrated by OAK-12438.
> # Refresh loaders remain asynchronous and zero-capacity caches retain inline 
> eviction.
> # Exported API package version and binary compatibility are handled, with 
> deprecated toggle symbols retained.
> # Tests exercise defaults, independent policies, legacy precedence, refresh 
> and zero capacity; targeted validation uses java17.
> # Complete all implementation and stack dependencies before the final 
> change-reviewer pass, then fix verified findings and push in dependency order.
> h3. Stack and validation sequence
> Use gh stack with dependent PRs based on their predecessor: latest trunk -> 
> OAK-12436 -> OAK-12438 -> OAK-12425 -> OAK-12426 (also covering OAK-12437). 
> Complete implementation first, then review each final PR from its base in 
> dependency order, fix verified findings, validate with java17 and push.



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

Reply via email to