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 st...@apache.org on 2024/10/23 17:06:51 UTC
(jackrabbit-oak) branch OAK-11184 updated (2c098cb0bc -> a232ae2e17)
This is an automated email from the ASF dual-hosted git repository.
stefanegli pushed a change to branch OAK-11184
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
from 2c098cb0bc OAK-11184 : partial fix suggestion : introduce anyRevisionCommitted to getNodeAtRevision - will avoid prev doc reading if there are no committed revisions locally - but once it is committed and not yet visible prev docs are still read, potentially expensively
add a232ae2e17 OAK-11184 : cache-based fix suggestion for second part : cache the fact that a property has no revisions in previous documents, to avoid re-scanning for the same property-previous document combination.
No new revisions were added by this update.
Summary of changes:
.../oak/plugins/document/DocumentNodeStore.java | 13 +++
.../plugins/document/DocumentNodeStoreBuilder.java | 15 ++-
.../oak/plugins/document/NodeDocument.java | 114 ++++++++++++++++++---
.../oak/plugins/document/DocumentMK.java | 1 +
.../plugins/document/DocumentMKBuilderTest.java | 4 +-
.../oak/plugins/document/DocumentNodeStoreIT.java | 26 ++++-
.../oak/plugins/document/NodeDocumentTest.java | 12 +--
7 files changed, 158 insertions(+), 27 deletions(-)