Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix race condition
  • Loading branch information
dgomezferro committed Sep 17, 2012
1 parent a1c146b commit 4f9951f
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -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();
}

Expand Down

0 comments on commit 4f9951f

Please sign in to comment.