[
https://issues.apache.org/jira/browse/OAK-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Dürig updated OAK-2954:
-------------------------------
Attachment: OAK-2954.patch
Preliminary patch. See {{TODO OAK-2954}} for what is still missing
> Add MBean to enforce session refresh on all open sessions
> ---------------------------------------------------------
>
> Key: OAK-2954
> URL: https://issues.apache.org/jira/browse/OAK-2954
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: core, jcr
> Affects Versions: 1.3.3
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Labels: compaction, gc
> Fix For: 1.3.5
>
> Attachments: OAK-2954.patch
>
>
> Long running sessions limit the efficient of revision gc as they keep
> reference to old node states.
> We should consider to add an MBean through which all sessions can be enforced
> to refresh. This would provide clients with means to fine tune revision gc by
> first calling that MBean and then triggering a gc cycle. IMO this is
> preferable to directly enforcing a refresh from the garbage collector. The
> latter is too invasive and also not required when there are no long running
> sessions. Offering this functionality to clients as an additional knob to
> turn is safer.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)