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)

Reply via email to