You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2016/07/26 16:09:20 UTC
[jira] [Updated] (OAK-4605) Separate persistent cache for diff and
local_diff
[ https://issues.apache.org/jira/browse/OAK-4605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger updated OAK-4605:
----------------------------------
Attachment: OAK-4605.patch
Proposed changes.
> Separate persistent cache for diff and local_diff
> -------------------------------------------------
>
> Key: OAK-4605
> URL: https://issues.apache.org/jira/browse/OAK-4605
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core, documentmk
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Fix For: 1.6
>
> Attachments: OAK-4605.patch
>
>
> The DocumentNodeStore currently uses a single persistent cache for all types (node, nodeChildren, diff, etc.). With this setup it is not possible to assign a specific amount of disk space for some cache type(s). If there are many inserts for one cache type, entries of another type may become unavailable. In practice this can be a problem for the local_diff cache entries that are important for efficient node state comparison.
> Separating the diff and local_diff cache entries would also allow for different configuration options like compression and different behaviour when the async write back queue is full.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)