[ 
https://issues.apache.org/jira/browse/OAK-4555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15376456#comment-15376456
 ] 

Francesco Mari commented on OAK-4555:
-------------------------------------

>From the stack trace, and as first noted by [~volteanu] offline, the thread 
>that looks blocked is actually in a runnable state. This seems a consequence 
>of MATH-578. In Commons Math 2.2 there is a serious performance problem when 
>computing the percentile of data that is largely constant. The only solution 
>to this problem would be to upgrade to a version of Commons Math that fixes 
>this problem.

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

Reply via email to