[
https://issues.apache.org/jira/browse/OAK-3066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15114883#comment-15114883
]
Marcel Reutegger commented on OAK-3066:
---------------------------------------
I think, I would put the cache into the DocumentStore implementation
or a DocumentStore wrapper and use/maintain the cache based on the
maxCacheAge of the find() call. We already use Integer.MAX_VALUE for
previous documents to indicate that it is fine to read from any
secondary (or primary if not found).
> Persistent cache for previous documents
> ---------------------------------------
>
> Key: OAK-3066
> URL: https://issues.apache.org/jira/browse/OAK-3066
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core, mongomk
> Reporter: Marcel Reutegger
> Assignee: Vikas Saurabh
> Labels: performance
> Fix For: 1.4
>
>
> Previous (aka split) documents contain old revisions and are immutable
> documents. Those documents should go into the persistent cache to reduce
> calls to the underlying DocumentStore.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)