jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-4106) Reclaimed size reported by FileStore.cleanup is off
Date Wed, 03 Aug 2016 10:25:20 GMT

    [ https://issues.apache.org/jira/browse/OAK-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15405691#comment-15405691
] 

Michael Dürig commented on OAK-4106:
------------------------------------

[~dulceanu], could you have a look at this one? I think some of the code from https://issues.apache.org/jira/secure/attachment/12818835/OAK-4105-02.patch
could be reused to fix this. 

> Reclaimed size reported by FileStore.cleanup is off
> ---------------------------------------------------
>
>                 Key: OAK-4106
>                 URL: https://issues.apache.org/jira/browse/OAK-4106
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar
>            Reporter: Michael Dürig
>            Assignee: Andrei Dulceanu
>            Priority: Minor
>              Labels: cleanup, gc
>             Fix For: Segment Tar 1.0.0
>
>
> The current implementation simply reports the difference between the repository size
before cleanup to the size after cleanup. As cleanup runs concurrently to other commits, the
size increase contributed by those is not accounted for. In the extreme case where cleanup
cannot reclaim anything this can even result in negative values being reported. 
> We should either change the wording of the respective log message and speak of before
and after sizes or adjust our calculation of reclaimed size (preferred). 



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

Mime
View raw message