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 Dürig (JIRA)" <ji...@apache.org> on 2016/03/08 20:49:40 UTC

[jira] [Created] (OAK-4106) Reclaimed size reported by FileStore.cleanup is off

Michael Dürig created OAK-4106:
----------------------------------

             Summary: 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: segmentmk
            Reporter: Michael Dürig
            Priority: Minor
             Fix For: 1.6


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)