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 2019/05/06 13:15:00 UTC

[jira] [Commented] (OAK-8300) Revision GC may remove previous document without removing reference

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

Marcel Reutegger commented on OAK-8300:
---------------------------------------

Added an ignored test: http://svn.apache.org/r1858808

> Revision GC may remove previous document without removing reference
> -------------------------------------------------------------------
>
>                 Key: OAK-8300
>                 URL: https://issues.apache.org/jira/browse/OAK-8300
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: documentmk
>    Affects Versions: 1.12.0
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>
> Depending on timing it may happen that the Revision GC removes a previous document without updating the main document. This can only happen in a cluster when modifications to a document happen on one cluster node and the Revision GC runs on the other cluster node. Updating the main document on Revision GC fails when the document was split after a background update that contained the latest change on the document and the document is not updated anymore. On the cluster node where the Revision GC runs, the document may then stay in the cache in a state that doesn't reflect the split. When the Revision GC runs, the main document from the cache will not show the reference to the previous document.
> The Revision GC will print a log message that says like:
> {noformat}
> Split document 4:p/content/foo/r169f074b41f-0-1/0 for path p/content/foo/r169f074b41f-0-1/0 not referenced anymore. Main document is 2:/content/foo
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)