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

Sijie Guo commented on BOOKKEEPER-840:
--------------------------------------

yes. that is the right fix. since the flushLock here is only for notification, 
we should reduce its locking scope.

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

Reply via email to