jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Marth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-4596) The segment info record allows empty segments to be leaked
Date Tue, 26 Jul 2016 08:24:20 GMT

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

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

> 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: Bug
>          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)

Mime
View raw message