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

2018-10-04 Thread Amit Jain (JIRA)


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

Amit Jain updated OAK-7805:
---
Attachment: OAK-7805-blob-test.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
>  Components: segment-tar
>Reporter: Tomek Rękawek
>Assignee: Tomek Rękawek
>Priority: Major
> Fix For: 1.10
>
> 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)


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

2018-10-04 Thread JIRA


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

Tomek Rękawek updated OAK-7805:
---
Component/s: segment-tar

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


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

2018-10-04 Thread JIRA


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