[ https://issues.apache.org/jira/browse/ZOOKEEPER-2687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15868127#comment-15868127 ]
Rakesh R commented on ZOOKEEPER-2687: ------------------------------------- Thanks [~arshad.mohammad] for the contribution. Thanks [~abrahamfine] for the reviews. Merged to branch-3.5 : https://git-wip-us.apache.org/repos/asf?p=zookeeper.git;a=commit;h=f07a836e3e24e9b643fecf0c0cfca3d7dbc60859 Merged to master : https://git-wip-us.apache.org/repos/asf?p=zookeeper.git;a=commit;h=fd211a5275b6231e668268fb9df2820e07f5f33c > Deadlock while shutting down the Leader server. > ----------------------------------------------- > > Key: ZOOKEEPER-2687 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2687 > Project: ZooKeeper > Issue Type: Bug > Components: server > Affects Versions: 3.5.2, 3.6.0 > Reporter: Mohammad Arshad > Assignee: Mohammad Arshad > Fix For: 3.5.3, 3.6.0 > > Attachments: ZOOKEEPER-2687-01.patch > > > Leader server enters into deadlock while shutting down. This happens some > time only. > The reason and deadlock flow is same as ZOOKEEPER-2380. > shutdown was removed from synchronized block in ZOOKEEPER-2380 > Now shutdown is called from synchronized block from another place. > {code} > // check leader running status > if (!this.isRunning()) { > shutdown("Unexpected internal error"); > return; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)