jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomek Rękawek (JIRA) <j...@apache.org>
Subject [jira] [Updated] (OAK-7805) getBinaryReferences() may return null when using the split persistence
Date Thu, 04 Oct 2018 09:10:00 GMT

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

Tomek Rękawek updated OAK-7805:
-------------------------------
    Attachment: OAK-7805.patch

> 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)

Mime
View raw message