Skip to content

Commit

Permalink
recover code
Browse files Browse the repository at this point in the history
  • Loading branch information
brettKK committed Apr 22, 2018
1 parent c4db5e2 commit cf9fb5f
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ void followLeader() throws InterruptedException {
fzk.registerJMX(new FollowerBean(this, zk), self.jmxLocalPeerBean);
try {
QuorumServer leaderServer = findLeader();
if (leaderServer == null) {
LOG.error("found no leader");
throw new Exception("found no leader");
}
try {
connectToLeader(leaderServer.addr, leaderServer.hostname);
long newEpochZxid = registerWithLeader(Leader.FOLLOWERINFO);
Expand Down

0 comments on commit cf9fb5f

Please sign in to comment.