[
https://issues.apache.org/jira/browse/OAK-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Dürig resolved OAK-3347.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.3.6
Fixed at http://svn.apache.org/r1701239
> Ineffective cleanup after compaction due to references to root
> --------------------------------------------------------------
>
> Key: OAK-3347
> URL: https://issues.apache.org/jira/browse/OAK-3347
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segmentmk
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Labels: cleanup, compac, gc
> Fix For: 1.3.6
>
>
> The cleanup phase after a compaction run is currently not able to remove the
> pre compacted segments as the previous (pre-compacted) root is still being
> referenced. Those references are coming from:
> * The {{before}} [local
> variable|https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/file/FileStore.java#L653]
> in {{FileStore.flush}}.
> * The [current
> head|https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentNodeStore.java#L85-L85]
> of the {{SegmentNodeStore}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)