jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Created] (OAK-3347) Ineffective cleanup after compaction due to references to root
Date Fri, 04 Sep 2015 08:18:45 GMT
Michael Dürig created OAK-3347:
----------------------------------

             Summary: 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


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)

Mime
View raw message