You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by da...@apache.org on 2026/10/06 18:58:44 UTC
(jackrabbit-oak) branch OAK-12425 updated (9ae37ddcd0 -> 9576c562b2)
This is an automated email from the ASF dual-hosted git repository.
rishabhdaim pushed a change to branch OAK-12425
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
omit 9ae37ddcd0 OAK-12425: Avoid blocking eviction callbacks on persistent writes
omit a22376c9ea OAK-12425: keep Document cache maintenance synchronous
omit 555013c57b OAK-12425: fix cross-cache loading and guarded persistence
omit 5217463dd8 OAK-12425: default document cache maintenance to synchronous
omit f00965d5f0 OAK-12425: own persistence metadata in each cache entry
omit 885d56d127 OAK-12425: fix persistent cache review findings
omit c8c4faf43b OAK-12425 : describe cache tests and restore documented size
omit fff42ef988 OAK-12425 : test stale eviction and restore cache size
omit 7f94ba5f58 OAK-12425 : exclude generated indexing log from RAT
omit 43f77faf04 OAK-12425 : count cache hits before lookup, drop per-load allocation, document toggle restart
omit 3dd78e6fbb OAK-12425 : always register caffeine eviction listener so persistent cache and metadata see evictions
omit 21bc36a87c OAK-12425 : add test coverage for receive() broadcast metadata replacement
omit 7b18f21fc5 OAK-12425 : address change-reviewer findings
omit 7bd7b5eb94 OAK-12425 : address cache metadata review comments
omit 34bee9283e OAK-12425 : count loaded access before eviction
omit 29aad73b2a OAK-12425 : preserve cache metadata ordering
omit 2e58a6aec7 OAK-12425 : preserve cache rollback behavior
omit 78ac282634 OAK-12425 : use caffeine cache by default
add 9576c562b2 OAK-12425: opt into synchronous Caffeine without metadata changes
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (9ae37ddcd0)
\
N -- N -- N refs/heads/OAK-12425 (9576c562b2)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
oak-doc/src/site/markdown/osgi_config.md | 4 +-
oak-run/pom.xml | 1 -
.../oak/plugins/document/Configuration.java | 4 +-
.../oak/plugins/document/DocumentNodeStore.java | 4 +-
.../plugins/document/DocumentNodeStoreBuilder.java | 79 ++--
.../plugins/document/DocumentNodeStoreService.java | 2 +-
.../oak/plugins/document/MemoryDiffCache.java | 5 +-
.../document/persistentCache/CacheEntries.java | 368 -----------------
.../document/persistentCache/CacheEntry.java | 93 -----
.../document/persistentCache/CacheMetadata.java | 168 ++++++++
.../document/persistentCache/NodeCache.java | 245 ++++++-----
.../document/persistentCache/PersistentCache.java | 49 ++-
.../persistentCache/async/CacheWriteQueue.java | 29 --
.../persistentCache/async/PutToCacheAction.java | 31 +-
.../document/DocumentCacheConcurrencyTest.java | 13 +-
.../document/DocumentCacheMaintenanceTest.java | 10 +-
.../document/DocumentNodeStoreBuilderTest.java | 26 +-
.../document/DocumentNodeStoreServiceTest.java | 6 +-
.../oak/plugins/document/MemoryDiffCacheTest.java | 55 ---
.../document/persistentCache/AsyncQueueTest.java | 446 +--------------------
.../document/persistentCache/BroadcastTest.java | 2 +-
.../document/persistentCache/CacheEntriesTest.java | 276 -------------
.../document/persistentCache/CacheTest.java | 2 +-
.../persistentCache/NodeCacheEntryTest.java | 360 -----------------
.../document/persistentCache/NodeCacheTest.java | 69 +---
.../PersistentCacheCompatibilityTest.java | 2 +-
.../persistentCache/async/CacheWriteQueueTest.java | 153 -------
.../async/TestCacheActionDispatcher.java | 42 --
specs/oak-12425-cache-maintenance/PLAN.md | 42 +-
29 files changed, 445 insertions(+), 2141 deletions(-)
delete mode 100644 oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/persistentCache/CacheEntries.java
delete mode 100644 oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/persistentCache/CacheEntry.java
create mode 100644 oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/persistentCache/CacheMetadata.java
delete mode 100644 oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/persistentCache/CacheEntriesTest.java
delete mode 100644 oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/persistentCache/NodeCacheEntryTest.java
delete mode 100644 oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/persistentCache/async/CacheWriteQueueTest.java
delete mode 100644 oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/persistentCache/async/TestCacheActionDispatcher.java