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 "Francesco Mari (JIRA)" <ji...@apache.org> on 2016/07/14 08:37:20 UTC

[jira] [Resolved] (OAK-4555) Deadlock in CompactionStats.writeNode during online compaction

     [ https://issues.apache.org/jira/browse/OAK-4555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francesco Mari resolved OAK-4555.
---------------------------------
       Resolution: Fixed
    Fix Version/s: Segment Tar 0.0.6

Fixed at r1752601.

> Deadlock in CompactionStats.writeNode during online compaction
> --------------------------------------------------------------
>
>                 Key: OAK-4555
>                 URL: https://issues.apache.org/jira/browse/OAK-4555
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar
>    Affects Versions: Segment Tar 0.0.2
>            Reporter: Valentin Olteanu
>            Assignee: Francesco Mari
>             Fix For: Segment Tar 0.0.6
>
>         Attachments: stacktrace.log
>
>
> While running online revision cleanup under high load, the instance reached a deadlock (or possible infinite loop).
> Full thread dump is attached, but it seems that:
> 1. Thread-21 tries to commit -> CompactionStats.writeNode -> locked by compaction thread
> 2. TarMK compaction thread tries to compact -> print statistics -> infinite loop



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