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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2012/11/08 15:45:12 UTC

[jira] [Updated] (OAK-428) Binaries might get removed by garbage collection while still referenced

     [ https://issues.apache.org/jira/browse/OAK-428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dürig updated OAK-428:
------------------------------

    Attachment: OAK-428.patch

This patch changes the prefix from "bin:" to ":blobId". All test cases pass. However I suspect {{PrefixContentIndex}} is now broken for binary properties. 

                
> Binaries might get removed by garbage collection while still referenced
> -----------------------------------------------------------------------
>
>                 Key: OAK-428
>                 URL: https://issues.apache.org/jira/browse/OAK-428
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Michael Dürig
>         Attachments: OAK-428.patch
>
>
> The [Microkernel contract|http://svn.apache.org/repos/asf/jackrabbit/oak/trunk/oak-mk-api/src/main/java/org/apache/jackrabbit/mk/api/MicroKernel.java] specifies a specific format for references to binaries: ":blobId:<blobId>". Currently oak-core uses a different format and thus risks premature garbage collection of such binaries.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira