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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/03/02 16:34:18 UTC

[jira] [Updated] (OAK-2939) Make compaction gain estimate more accurate

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

Davide Giannella updated OAK-2939:
----------------------------------
    Fix Version/s: 1.4

> Make compaction gain estimate more accurate
> -------------------------------------------
>
>                 Key: OAK-2939
>                 URL: https://issues.apache.org/jira/browse/OAK-2939
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segmentmk
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 1.3.1, 1.4
>
>
> Currently the compaction gain estimation process only takes the current head into account when calculating the retained size. We could make it more accurate by also taking in memory references into account. This would prevent compaction from running when many in memory references would later on prevent segments from being cleaned up. 
> Also for OAK-2862, we would need a way to include the segments used for the persisted compaction map in the retained size. 
> While at it, we could try to improve logging so information on how much space is retained by the current head, in memory references and the persisted compaction map would be logged separately. 



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