[
https://issues.apache.org/jira/browse/OAK-6046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francesco Mari updated OAK-6046:
--------------------------------
Attachment: OAK-6046-02.patch
The second version of the patch implements a solution proposed offline by
[~mduerig], I will leave to him a more in-depth explanation of his analysis.
> Include references from unpersisted segments when running cleanup
> -----------------------------------------------------------------
>
> Key: OAK-6046
> URL: https://issues.apache.org/jira/browse/OAK-6046
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: segment-tar
> Affects Versions: 1.8
> Reporter: Francesco Mari
> Assignee: Francesco Mari
> Attachments: OAK-6046-01.patch, OAK-6046-02.patch
>
>
> If a data segment A that is not persisted references a bulk segment B that is
> already persisted, and if A is the only segment that references B, B is
> marked for removal during cleanup.
> To solve this problem, references from A should be included in the initial
> set of references that is fed as input to the cleanup operation.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)