Skip to content

Commit

Permalink
ZOOKEEPER-2383: Startup race in ZooKeeperServer
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshadr committed Dec 16, 2016
1 parent d2078d0 commit 4faa761
Showing 1 changed file with 7 additions and 3 deletions.
Expand Up @@ -206,10 +206,14 @@ private void startSimpleZKServer(CountDownLatch startupDelayLatch)
public void run() {
try {
servcnxnf.startup(zks);
} catch (IOException | InterruptedException e) {
} catch (IOException e) {
LOG.error("Unexcepted exception during server startup", e);
// Ignoring this exception. If there is any exception
// then one of the following assertion will fail.
// Ignoring exception. If there is an ioexception
// then one of the following assertion will fail
} catch (InterruptedException e) {
LOG.error("Unexcepted exception during server startup", e);
// Ignoring exception. If there is an interrupted exception
// then one of the following assertion will fail
}
};
};
Expand Down

0 comments on commit 4faa761

Please sign in to comment.