jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OAK-7805) getBinaryReferences() may return null when using the split persistence
Date Fri, 12 Oct 2018 13:31:06 GMT

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

Julian Reschke closed OAK-7805.
-------------------------------

> 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
>          Components: segment-tar
>            Reporter: Tomek Rękawek
>            Assignee: Tomek Rękawek
>            Priority: Major
>             Fix For: 1.10, 1.9.9
>
>         Attachments: OAK-7805-blob-test.patch, 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