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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2015/09/07 14:09:45 UTC
[jira] [Commented] (OAK-3329) TarMK cleanup blocks writers
[ https://issues.apache.org/jira/browse/OAK-3329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14733597#comment-14733597 ]
Michael Dürig commented on OAK-3329:
------------------------------------
The fix to OAK-2723 probably made this problem worse as the segment graph is now parsed during cleanup (i.e. in while holding the {{FileStore}} lock. Need to verify how much time parsing takes up in relation to the overall cleanup process though.
> TarMK cleanup blocks writers
> ----------------------------
>
> Key: OAK-3329
> URL: https://issues.apache.org/jira/browse/OAK-3329
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segmentmk
> Reporter: Michael Dürig
> Labels: cleanup, gc
>
> TarMK cleanup exclusively locks the {{FileStore}}, which causes concurrent writers to block until cleanup finished. Initially cleanup was expected to be reasonably fast, however I have seen it taking dozens of minutes under certain circumstances (most likely many tar files with many small segments, aka OAK-2896).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)