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

Francesco Mari resolved OAK-7312.
---------------------------------
       Resolution: Done
    Fix Version/s:     (was: 1.10)

Resolving this issue as the feasibility of this new garbage collection strategy 
has been validated. The implementation has been cleaned up and is committed on 
trunk per OAK-7445.

> Evaluate the feasibility of running cleanup before compaction
> -------------------------------------------------------------
>
>                 Key: OAK-7312
>                 URL: https://issues.apache.org/jira/browse/OAK-7312
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>            Reporter: Francesco Mari
>            Assignee: Francesco Mari
>            Priority: Major
>
> Currently cleanup is run only after the compaction phase. Assuming that the 
> system is configured to retain the default value of two generations, it might 
> happen that, during the compaction phase, the system will need space for a 
> third generation, the one being currently compacted.
> In order to provide better guarantees on the amount of used disk space, it 
> should be possible to optimistically perform cleanup before compaction, 
> getting rid of the oldest generation before a new one is constructed.
> This issue tracks the feasibility of this approach, to be validated with a 
> simple proof of concept.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to