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 Marth (JIRA)" <ji...@apache.org> on 2016/07/26 08:20:20 UTC

[jira] [Updated] (OAK-4596) The segment info record allows empty segments to be leaked

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

Michael Marth updated OAK-4596:
-------------------------------
    Issue Type: Improvement  (was: Bug)

> The segment info record allows empty segments to be leaked
> ----------------------------------------------------------
>
>                 Key: OAK-4596
>                 URL: https://issues.apache.org/jira/browse/OAK-4596
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>            Reporter: Francesco Mari
>            Assignee: Francesco Mari
>             Fix For: Segment Tar 0.0.8
>
>
> The flush thread writes to disk dirty segment buffers every 5 seconds. A segment buffer is defined to be dirty if the amount of record bytes it contains is greater than zero. Since we always write an info record in every segment at the moment they are created, no segment buffer is ever empty. This means that the flush thread writes to disk almost empty segments every 5 seconds, that waste an additional amount of space because of the padding required by the TAR format.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)