Repository navigation
OAK-12436: support per-cache caffeine maintenance mode - #3185
Open
rishabhdaim wants to merge 1 commit into
Open
rishabhdaim wants to merge 1 commit into
rishabhdaim wants to merge 1 commit into
Conversation
rishabhdaim
added this pull request to stack #3182
October 6, 2026 04:40
rishabhdaim
force-pushed
the
issue/OAK-12436
branch
2 times, most recently
from
October 6, 2026 05:36
9bc628a to
a9126cd
Compare
rishabhdaim
removed this pull request from stack #3182
October 6, 2026 05:37
This was referenced Oct 6, 2026
rishabhdaim
added this pull request to stack #3187
October 6, 2026 05:57
rishabhdaim
removed this pull request from stack #3187
October 6, 2026 08:37
rishabhdaim
added this pull request to stack #3191
October 6, 2026 08:37
rishabhdaim
requested review from
Joscorbe,
joerghoh,
jsedding,
mbaedke,
reschke and
thomasmueller
October 6, 2026 16:13
rishabhdaim
force-pushed
the
issue/OAK-12436
branch
7 times, most recently
from
October 8, 2026 08:55
ed540cb to
1909a12
Compare
Co-Authored-By: OpenAI Codex <noreply@openai.com>
rishabhdaim
force-pushed
the
issue/OAK-12436
branch
from
October 8, 2026 16:22
1909a12 to
85124f4
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Add per-cache SYNC/ASYNC maintenance selection to
CacheBuilder, preserving the ASYNC default and existing caller behavior. Explicit selection overrides the legacy shared toggle; refresh stays asynchronous and zero-capacity eviction stays inline. Include the new enum in Lucene's embedded cache classes.Tests cover executor selection, refresh overriding SYNC, and zero size/weight overriding ASYNC and refresh, including zero weight with refresh and SYNC. Brief comments explain the failure scenarios these tests protect.
Validation with Java 17: 245 Core SPI tests (three existing skips), including 26 maintenance cases; API baseline, coverage and license checks passed. Previously verified: 12 extracted-text cache tests and isolated Lucene bundle loading and execution of both modes.
OAK-12436. Caller integration follows in #3186 and #3176.
Co-Authored-By: OpenAI Codex noreply@openai.com