Permalink
Browse files

Fix race condition

  • Loading branch information...
dgomezferro committed Sep 17, 2012
1 parent a1c146b commit 4f9951f2dda2d013e1e06aeb316d0c977fd32592
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/main/java/com/yahoo/pasc/paxos/client/PaxosClientHandler.java
@@ -166,7 +166,6 @@ public void submitControlMessage(byte[] controlMessage) {
private static final String ELECTION_PATH = "/pasc_election";
public void start() throws KeeperException, InterruptedException {
- leader = getLeadership(zk.getChildren(ELECTION_PATH, this));
new Thread(new ConnectionThread()).start();
}

0 comments on commit 4f9951f

Please sign in to comment.