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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2015/02/26 15:29:04 UTC

[jira] [Commented] (OAK-2549) Persistent Cache: use append-only mode

    [ https://issues.apache.org/jira/browse/OAK-2549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14338456#comment-14338456 ] 

Thomas Mueller commented on OAK-2549:
-------------------------------------

Revisions 1662454, 1662455, 1662458, 1662459: option to use append-only mode, but disabled by default for now.

> Persistent Cache: use append-only mode
> --------------------------------------
>
>                 Key: OAK-2549
>                 URL: https://issues.apache.org/jira/browse/OAK-2549
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: 1.2, 1.1.7, 1.0.13
>
>
> The persistent cache mainly adds data (in some rare cases it overwrites existing entries: the list of child nodes, if more child nodes are read). Because of that, the storage backend (H2 MVStore currently) can operate in append-only mode.
> This should also avoid the following problem: "IllegalStateException: Chunk ... no longer exists [1.4.185/9]". This is probably a bug in H2, where old chunks are removed too early. This error is not (yet) reproducible, but happened while testing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)