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 08:52:00 UTC
[jira] [Created] (OAK-7805) getBinaryReferences() may return null
when using the split persistence
Tomek Rękawek created OAK-7805:
----------------------------------
Summary: 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
Fix For: 1.10
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)