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

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

Long running sessions that never refresh impact gc because they hold onto old 
node states blocking the associated segment and its dependencies from getting 
collected. 

https://github.com/mduerig/jackrabbit-oak/commit/16ad56e843ae3c6e9cf5e7d4be51033b3fdc152f
 introduces experimental support for refreshing all open sessions through the 
{{RepositoryManagementMBean}}. This allows to asses the impact of refreshing 
sessions before running gc. 

> Improve revision gc on SegmentMK
> --------------------------------
>
>                 Key: OAK-2849
>                 URL: https://issues.apache.org/jira/browse/OAK-2849
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: segmentmk
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>              Labels: compaction, gc
>             Fix For: 1.3.0
>
>
> This is a container issue for the ongoing effort to improve revision gc of 
> the SegmentMK. 
> I'm exploring 
> * ways to make the reference graph as exact as possible and necessary: it 
> should not contain segments that are not referenceable any more and but must 
> contain all segments that are referenceable. 
> * ways to segregate the reference graph reducing dependencies between certain 
> set of segments as much as possible. 
> * Reducing the number of in memory references and their impact on gc as much 
> as possible.
> Work in progress is in my private [Github 
> fork|https://github.com/mduerig/jackrabbit-oak]. As soon as something is 
> promising enough to make it into Oak, I spawn of an issue an make it a 
> subtask of this task. 



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

Reply via email to