[
https://issues.apache.org/jira/browse/OAK-2801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Dürig updated OAK-2801:
-------------------------------
Attachment: OAK-2801.patch
Patch clearing the segment cache and creating a new {{TarWriter}} instance
before cleanup. Note: this uncovered an issue with the special casing of bulk
segments in {{TarReader.cleanup}}, which might cause a
{{SegmentNotFoundException}}.
[~alex.parvulescu], WDYT?
> Clear excess references before cleanup
> --------------------------------------
>
> Key: OAK-2801
> URL: https://issues.apache.org/jira/browse/OAK-2801
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segmentmk
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Labels: compaction, gc
> Fix For: 1.3.0
>
> Attachments: OAK-2801.patch
>
>
> {{FileStore#cleanup}} would be more efficient when getting rid of as much
> references as possibly beforehand. Excess references are contributed by the
> current {{TarWriter}} instance and segment cache in {{SegmentTracker}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)