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 "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2018/10/04 09:11:00 UTC

[jira] [Commented] (OAK-7805) getBinaryReferences() may return null when using the split persistence

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

Tomek Rękawek commented on OAK-7805:
------------------------------------

//cc: [~amitjain]

> getBinaryReferences() may return null when using the split persistence
> ----------------------------------------------------------------------
>
>                 Key: OAK-7805
>                 URL: https://issues.apache.org/jira/browse/OAK-7805
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Tomek Rękawek
>            Assignee: Tomek Rękawek
>            Priority: Major
>             Fix For: 1.10
>
>         Attachments: OAK-7805.patch
>
>
> When the new SplitPersistence is used for the SegmentMK, the getBinaryReferences() method may sometimes break the contract and return null. It will happen for the reader referencing an archive which hasn't been closed yet by another Oak instance (and therefore missing the .brf entry).
> Since the .brf file is unavailable in this case, we should at least return a valid, empty binary references structure.



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