jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-3329) TarMK cleanup blocks writers
Date Mon, 07 Sep 2015 12:09:45 GMT

    [ 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)

Mime
View raw message