jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francesco Mari (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-4596) The segment info record allows empty segments to be leaked
Date Mon, 25 Jul 2016 14:18:20 GMT
Francesco Mari created OAK-4596:
-----------------------------------

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