Github user breed commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/562#discussion_r200717310
--- Diff:
src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java ---
@@ -905,6 +908,12 @@ public void run() {
+ "I won't be able to participate in leader "
+ "election any longer: "
+ self.getElectionAddress());
+ if (exitException instanceof BindException) {
+ // After leaving listener thread, the host cannot join
the
+ // quorum anymore, this is a severe error that we
cannot
+ // recover from, so we need to exit
+ System.exit(14);
--- End diff --
how did we pick 14?
---