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

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

Proposed approach is to limit the number of compaction cycles and after that 
optionally enforce compaction by locking the store. Both, the number of cycles 
and whether forces compaction should be done would be configurable through the 
compaction strategy. 

WIP fix for this approach: 
https://github.com/mduerig/jackrabbit-oak/commits/OAK-2734

[~alex.parvulescu], WDYT?

> Compaction does not finish on repository with continuous writes 
> ----------------------------------------------------------------
>
>                 Key: OAK-2734
>                 URL: https://issues.apache.org/jira/browse/OAK-2734
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segmentmk
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>              Labels: compaction, gc
>             Fix For: 1.2.1
>
>
> A repository with continuous writes can keep the compactor from completing 
> causing the repository size to grow indefinitely. 
> This effect is caused by the compactor trying to catch up with changes that 
> occurred while compacting. I.e. compacting them on top of the already 
> compacted head. When there is a steady stream of incoming changes it can 
> happen that the compactor never actually catches up. 



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

Reply via email to