Skip to content

Commit

Permalink
ZOOKEEPER-2687:Deadlock while shutting down the Leader server.
Browse files Browse the repository at this point in the history
  • Loading branch information
arshadmohammad committed Feb 13, 2017
1 parent c5df1c9 commit 1e3ed70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java/main/org/apache/zookeeper/server/quorum/Leader.java
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,8 @@ void lead() throws IOException, InterruptedException {

// check leader running status
if (!this.isRunning()) {
shutdown("Unexpected internal error");
return;
shutdownMessage = "Unexpected internal error";
break;
}

if (!tickSkip && !syncedAckSet.hasAllQuorums()) {
Expand Down

0 comments on commit 1e3ed70

Please sign in to comment.