zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohammad Arshad (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-2687) Deadlock while shutting down the Leader server.
Date Wed, 08 Feb 2017 07:20:41 GMT
Mohammad Arshad created ZOOKEEPER-2687:

             Summary: 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

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.
// check leader running status
if (!this.isRunning()) {
    shutdown("Unexpected internal error");

This message was sent by Atlassian JIRA

View raw message