[ https://issues.apache.org/jira/browse/BOOKKEEPER-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13993003#comment-13993003 ]
Ivan Kelly commented on BOOKKEEPER-752: --------------------------------------- Patch looks good. Does the sensible thing. +1. I can't see where the deadlock would be though. In #shutdown, #clear acquires the NIOServerFactory lock. I don't see it acquiring the lock on the Cnxn though. > Deadlock on NIOServer shutdown > ------------------------------ > > Key: BOOKKEEPER-752 > URL: https://issues.apache.org/jira/browse/BOOKKEEPER-752 > Project: Bookkeeper > Issue Type: Bug > Components: bookkeeper-server > Affects Versions: 4.2.2 > Reporter: Sijie Guo > Assignee: Sijie Guo > Fix For: 4.2.3 > > Attachments: BOOKKEEPER-752.diff > > > Not all places in NIOServerFactory acquire locks in order, which cause > deadlock on shutdown. -- This message was sent by Atlassian JIRA (v6.2#6252)