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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2017/05/30 08:39:24 UTC

[jira] [Closed] (OAK-6039) TarFiles shouldn't need to regularly create a new list of TarReader instances

     [ https://issues.apache.org/jira/browse/OAK-6039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davide Giannella closed OAK-6039.
---------------------------------

Bulk close for 1.7.0

> TarFiles shouldn't need to regularly create a new list of TarReader instances
> -----------------------------------------------------------------------------
>
>                 Key: OAK-6039
>                 URL: https://issues.apache.org/jira/browse/OAK-6039
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>    Affects Versions: 1.8
>            Reporter: Francesco Mari
>            Assignee: Francesco Mari
>             Fix For: 1.7.0, 1.8
>
>
> The current implementation of {{TarFiles#newWriter}} always create a new list of {{TarReader}} instances every time a {{TarWriter}} is frozen into a new {{TarReader}}. This is a leftover from the previous implementation.
> The new {{TarReader}} can simply be prepended to the list, without forcing the creation of a new list. A more suitable implementation for this list should be used as well.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)