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

Michael Dürig edited comment on OAK-428 at 11/8/12 2:46 PM:
------------------------------------------------------------

This patch changes the prefix from "bin:" to ":blobId". All test cases pass. 
However I suspect {{PrefixContentIndex}} is now broken for binary properties. 
[~tmueller], [~alexparvulescu] could you check and add a test case before we 
proceed with the patch?
                
      was (Author: mduerig):
    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

Reply via email to