[ 
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-01.patch

The first version of the patch tries to solve this problem by exposing to the 
{{FileStore}} the transient references from the not yet persisted segments 
owned by the {{SegmentBufferWriter}}. [~mduerig], what do you think about this?

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

Reply via email to