You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Sijie Guo (JIRA)" <ji...@apache.org> on 2015/03/12 09:31:38 UTC

[jira] [Updated] (BOOKKEEPER-840) Deadlock on flushLock on compaction

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

Sijie Guo updated BOOKKEEPER-840:
---------------------------------
    Attachment: BOOKKEEPER-840.path

attached a patch to address the deadlock.

> Deadlock on flushLock on compaction
> -----------------------------------
>
>                 Key: BOOKKEEPER-840
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-840
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: bookkeeper-server
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>            Priority: Critical
>             Fix For: 4.4.0, 4.3.1
>
>         Attachments: BOOKKEEPER-840.path
>
>
> the dead lock happens on entry log rolling and compaction.
>     entry log rolling will lock entry logger then lock flushLock.
>     compaction waiting for flush, will lock flushLock and then entry logger.



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