You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2016/10/27 10:18:58 UTC
[jira] [Updated] (OAK-5024) Improve the usage of the SegmentWriter
for compaction
[ https://issues.apache.org/jira/browse/OAK-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig updated OAK-5024:
-------------------------------
Attachment: OAK-5024.patch
Proposed patch: [^OAK-5024.patch].
[~alex.parvulescu], [~frm] WDYT?
> Improve the usage of the SegmentWriter for compaction
> -----------------------------------------------------
>
> Key: OAK-5024
> URL: https://issues.apache.org/jira/browse/OAK-5024
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segment-tar
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Labels: refactoring
> Fix For: 1.5.13
>
> Attachments: OAK-5024.patch
>
>
> I would like to improve how the {{SegmentWriter}} is used for compaction. In particular I dislike how the {{SegmentBufferWriter}} needs to be looped into {{SegmentWriter.writeNode()}}.
> Furthermore creating a {{SegmentWriter}} for offline compaction with its own cache (instead of using the caches we have) is a bit wasteful wrt. to memory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)