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 "Valentin Olteanu (JIRA)" <ji...@apache.org> on 2016/07/13 14:32:20 UTC

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

Valentin Olteanu created OAK-4555:
-------------------------------------

             Summary: 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
         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)